Skip to content

Commit 490cbbd

Browse files
committed
fix horiz pre scrollbars element-hq#754
1 parent e4aa439 commit 490cbbd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ limitations under the License.
7979
font-size: 15px;
8080
}
8181

82+
/* have to use overlay rather than auto otherwise Linux and Windows
83+
Chrome gets very confused about vertical spacing:
84+
https://github.com/vector-im/vector-web/issues/754
85+
*/
86+
.mx_EventTile_content .markdown-body pre {
87+
overflow-x: overlay;
88+
overflow-y: visible;
89+
}
90+
8291
.mx_EventTile_content .markdown-body h1,
8392
.mx_EventTile_content .markdown-body h2,
8493
.mx_EventTile_content .markdown-body h3,

0 commit comments

Comments
 (0)