From 95c45362d5ad1dcf286dbf40570cfcde90d5fb1d Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Wed, 7 Feb 2018 12:02:00 +0000 Subject: [PATCH] Fix horizontal scrollbar under certain circumstances specifically when trailing whitespace is not wrapped onto the next line of the block. Fixes #6077 --- .../css/matrix-react-sdk/views/rooms/_MessageComposer.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss index e6b1a1f0..98be3885 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss @@ -108,6 +108,10 @@ limitations under the License. padding-top: 2px; } +.mx_MessageComposer .public-DraftStyleDefault-block { + overflow-x: hidden; +} + .mx_MessageComposer_input blockquote { color: $blockquote-fg-color; margin: 0 0 16px;