Skip to content

Commit 3600d1c

Browse files
author
Nostradamos
committed
moved max-height/min-height/overflow attributes to higher level to also include DraftEditorPlaceholder. Could fix element-hq#4821
1 parent b73f0c7 commit 3600d1c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,16 @@ limitations under the License.
9696
width: 100%;
9797
flex: 1;
9898
word-break: break-word;
99+
max-height: 120px;
100+
min-height: 21px;
101+
overflow: auto;
99102
}
100103

101104
.mx_MessageComposer_input .DraftEditor-root .DraftEditor-editorContainer {
102105
/* Ensure mx_UserPill and mx_RoomPill (see _RichText) are not obscured from the top */
103106
padding-top: 2px;
104107
}
105108

106-
.mx_MessageComposer_input .public-DraftEditor-content {
107-
max-height: 120px;
108-
min-height: 21px;
109-
overflow: auto;
110-
}
111-
112109
.mx_MessageComposer_input blockquote {
113110
color: $blockquote-fg-color;
114111
margin: 0 0 16px;

0 commit comments

Comments
 (0)