diff options
-rw-r--r-- | extensions/BugModal/web/bug_modal.css | 4 | ||||
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index 36e556efe..e148c205b 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -714,8 +714,10 @@ body.platform-Win32 .comment-text, body.platform-Win64 .comment-text { box-sizing: border-box !important; margin: 0 0 1em; max-width: 1024px; +} + +.autosized-comment { max-height: 400px; - resize: vertical; } #comment-preview { diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 5ca0148e7..ab479d07e 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -876,6 +876,7 @@ $(function() { }); if (BUGZILLA.user.settings.autosize_comments) { + $('#comment').addClass('autosized-comment'); autosize($('#comment')); } else if (BUGZILLA.user.settings.zoom_textareas) { // add comment --> enlarge on focus |