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

This commit is contained in:
Nostradamos 2018-01-02 12:14:54 +01:00
parent b73f0c7b90
commit 3600d1c667
1 changed files with 3 additions and 6 deletions

View File

@ -96,6 +96,9 @@ limitations under the License.
width: 100%; width: 100%;
flex: 1; flex: 1;
word-break: break-word; word-break: break-word;
max-height: 120px;
min-height: 21px;
overflow: auto;
} }
.mx_MessageComposer_input .DraftEditor-root .DraftEditor-editorContainer { .mx_MessageComposer_input .DraftEditor-root .DraftEditor-editorContainer {
@ -103,12 +106,6 @@ limitations under the License.
padding-top: 2px; padding-top: 2px;
} }
.mx_MessageComposer_input .public-DraftEditor-content {
max-height: 120px;
min-height: 21px;
overflow: auto;
}
.mx_MessageComposer_input blockquote { .mx_MessageComposer_input blockquote {
color: $blockquote-fg-color; color: $blockquote-fg-color;
margin: 0 0 16px; margin: 0 0 16px;