Skip to content

Commit 20f84ce

Browse files
committed
override gemini-scrollbar CSS to stop the scrollview from pushing out the container, causing FF's flexbox to adapt and keep growing infinitely
1 parent 2cf0ceb commit 20f84ce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/skins/vector/css/common.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ a:visited {
4747
color: #76cfa6;
4848
}
4949

50+
/* XXX: critical hack to GeminiScrollbar to allow them to work in FF 42 and Chrome 48.
51+
Stop the scrollbar view from pushing out the container's overall sizing, which causes
52+
flexbox to adapt to the new size and cause the view to keep growing.
53+
*/
54+
.gm-scrollbar-container .gm-scroll-view {
55+
position: absolute;
56+
}
57+
5058
.mx_ContextualMenu_background {
5159
position: fixed;
5260
top: 0;

0 commit comments

Comments
 (0)