Skip to content

Commit 95c4536

Browse files
committed
Fix horizontal scrollbar under certain circumstances
specifically when trailing whitespace is not wrapped onto the next line of the block. Fixes element-hq#6077
1 parent 680a019 commit 95c4536

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ limitations under the License.
108108
padding-top: 2px;
109109
}
110110

111+
.mx_MessageComposer .public-DraftStyleDefault-block {
112+
overflow-x: hidden;
113+
}
114+
111115
.mx_MessageComposer_input blockquote {
112116
color: $blockquote-fg-color;
113117
margin: 0 0 16px;

0 commit comments

Comments
 (0)