You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-06 10:22:45 +03:00
Fix room list scrolling in Safari
This sets `flex-basis` properly in Safari so the room list is scrollable. Fixes https://github.com/vector-im/element-web/issues/14877
This commit is contained in:
@@ -137,6 +137,7 @@ $tagPanelWidth: 56px; // only applies in this file, used for calculations
|
|||||||
.mx_LeftPanel_roomListWrapper {
|
.mx_LeftPanel_roomListWrapper {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: 10px; // so we're not up against the search/filter
|
margin-top: 10px; // so we're not up against the search/filter
|
||||||
|
flex: 1 0 0; // needed in Safari to properly set flex-basis
|
||||||
|
|
||||||
&.mx_LeftPanel_roomListWrapper_stickyBottom {
|
&.mx_LeftPanel_roomListWrapper_stickyBottom {
|
||||||
padding-bottom: 32px;
|
padding-bottom: 32px;
|
||||||
|
Reference in New Issue
Block a user