diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-02 00:55:00 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-02-02 01:00:03 +0300 |
commit | 933834c4a60610710fc949daa2e15531c2c45780 (patch) | |
tree | 7b312b52c0cca80a881241866c3e43119ca235f9 /app/assets/stylesheets/pages/note_form.scss | |
parent | ea11f0218a0cb8c23091965989a5b0875fd1daae (diff) |
Allow manual resize of js-autosize textareas
First, the autosize library was being too controlling and removed the
`resize` property from any elements to which it was attached, removing
the drag handle.
Second, we detect when the user manually resizes an autosize textarea,
and then remove the autosize behavior from it and increase its
max-height.
This should allow for the best of both worlds.
Closes #12832
Diffstat (limited to 'app/assets/stylesheets/pages/note_form.scss')
-rw-r--r-- | app/assets/stylesheets/pages/note_form.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index 32ba1676333..158c2a47862 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -147,7 +147,7 @@ .edit_note { .markdown-area { min-height: 140px; - max-height: 430px; + max-height: 500px; } .note-form-actions { background: transparent; |