Skip to content

Commit 35c239a

Browse files
author
Luke Barnard
committed
CSS required for composer autoscroll
for matrix-org/matrix-react-sdk#1248
1 parent ec6efd2 commit 35c239a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ limitations under the License.
9595
.mx_MessageComposer_input .DraftEditor-root {
9696
width: 100%;
9797
flex: 1;
98-
max-height: 120px;
99-
overflow: auto;
10098
word-break: break-word;
10199
}
102100

@@ -105,6 +103,11 @@ limitations under the License.
105103
padding-top: 2px;
106104
}
107105

106+
.mx_MessageComposer_input .public-DraftEditor-content {
107+
max-height: 120px;
108+
overflow: auto;
109+
}
110+
108111
.mx_MessageComposer_input blockquote {
109112
color: $blockquote-fg-color;
110113
margin: 0 0 16px;

0 commit comments

Comments
 (0)