Skip to content

Commit dfa039d

Browse files
committed
Merge pull request #32 from roidayan/fix_wp_editor_responsiveness
Fix wp_editor responsiveness
2 parents c707d22 + d06737d commit dfa039d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.settings-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ function callback_wysiwyg( $args ) {
283283
$value = $this->get_option( $args['id'], $args['section'], $args['std'] );
284284
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : '500px';
285285

286-
echo '<div style="width: ' . $size . ';">';
286+
echo '<div style="max-width: ' . $size . ';">';
287287

288288
$editor_settings = array(
289289
'teeny' => true,

0 commit comments

Comments
 (0)