Skip to content

Commit 604d4e0

Browse files
authored
Merge pull request element-hq#5900 from Nostradamos/fix_4821
Fix for `If riot is narrow enough, such that 'Send a message (unecrypted)' wraps to a second line, the timeline doesn't fit the window.`
2 parents cf47b91 + 762f6aa commit 604d4e0

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
@@ -98,19 +98,16 @@ limitations under the License.
9898
width: 100%;
9999
flex: 1;
100100
word-break: break-word;
101+
max-height: 120px;
102+
min-height: 21px;
103+
overflow: auto;
101104
}
102105

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

108-
.mx_MessageComposer_input .public-DraftEditor-content {
109-
max-height: 120px;
110-
min-height: 21px;
111-
overflow: auto;
112-
}
113-
114111
.mx_MessageComposer_input blockquote {
115112
color: $blockquote-fg-color;
116113
margin: 0 0 16px;

0 commit comments

Comments
 (0)