Skip to content

Commit 2cf0ceb

Browse files
committed
back out previous bodges to flexbox to make geminiscrollbar work in FF
1 parent 36b7dea commit 2cf0ceb

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

src/skins/vector/css/organisms/RoomView.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,14 @@ limitations under the License.
105105
-webkit-flex: 1 1 0;
106106
flex: 1 1 0;
107107

108-
/* specify width and margin in here rather than the wrapper otherwise gemini-scrollbars gets confused */
109-
min-width: 0px;
110-
max-width: 960px;
111108
width: 100%;
112-
margin: auto;
113109

114110
overflow-y: auto;
115111
}
116112

117113
.mx_RoomView_messageListWrapper {
114+
max-width: 960px;
115+
margin: auto;
118116
}
119117

120118
.mx_RoomView_MessageList {

src/skins/vector/css/pages/MatrixChat.css

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,13 @@ limitations under the License.
7171

7272
background-color: #eaf5f0;
7373

74-
/*
75-
We can't use flex here as gemini-scrollbars chokes on the width calculation (on FF 42 and Chrome 48)
76-
and you end up with double-scrollbars and an ever-increasing width.
77-
7874
-webkit-flex: 0 0 210px;
7975
flex: 0 0 210px;
80-
*/
81-
width: 210px;
8276
}
8377

8478
.mx_MatrixChat .mx_LeftPanel.collapsed {
85-
/*
8679
-webkit-flex: 0 0 60px;
8780
flex: 0 0 60px;
88-
*/
89-
width: 60px;
9081
}
9182

9283
.mx_MatrixChat .mx_MatrixChat_middlePanel {
@@ -126,18 +117,11 @@ limitations under the License.
126117
-webkit-order: 3;
127118
order: 3;
128119

129-
/* Similarly, specify width explicitly otherwise gemini-scrollbars gets confused
130-
131120
-webkit-flex: 0 0 235px;
132121
flex: 0 0 235px;
133-
*/
134-
width: 235px;
135122
}
136123

137124
.mx_MatrixChat .mx_RightPanel.collapsed {
138-
/*
139125
-webkit-flex: 0 0 72px;
140126
flex: 0 0 72px;
141-
*/
142-
width: 72px;
143127
}

0 commit comments

Comments
 (0)