Skip to content

Commit 068a2b8

Browse files
authored
Merge pull request element-hq#4682 from vector-im/luke/css-fix-rte-auto-scroll
CSS required for composer autoscroll
2 parents ec6efd2 + 35c239a commit 068a2b8

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)