From 3600d1c667997d36b73b6f79eaf086e1f411c5c8 Mon Sep 17 00:00:00 2001 From: Nostradamos Date: Tue, 2 Jan 2018 12:14:54 +0100 Subject: [PATCH] moved max-height/min-height/overflow attributes to higher level to also include DraftEditorPlaceholder. Could fix https://github.com/vector-im/riot-web/issues/4821 --- .../matrix-react-sdk/views/rooms/_MessageComposer.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss index 14e758535e..40ed59bc74 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss @@ -96,6 +96,9 @@ limitations under the License. width: 100%; flex: 1; word-break: break-word; + max-height: 120px; + min-height: 21px; + overflow: auto; } .mx_MessageComposer_input .DraftEditor-root .DraftEditor-editorContainer { @@ -103,12 +106,6 @@ limitations under the License. padding-top: 2px; } -.mx_MessageComposer_input .public-DraftEditor-content { - max-height: 120px; - min-height: 21px; - overflow: auto; -} - .mx_MessageComposer_input blockquote { color: $blockquote-fg-color; margin: 0 0 16px;