Skip to content

Commit 55c8256

Browse files
authored
fix:put a background color to the left panel when the new room list is enabled (#30328)
1 parent b64e9ed commit 55c8256

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

res/css/structures/_LeftPanel.pcss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ Please see LICENSE files in the repository root for full details.
2828
--collapsedWidth: 68px;
2929
}
3030

31-
.mx_LeftPanel_newRoomList {
32-
/* Thew new rooms list is not designed to be collapsed to just icons. */
33-
/* 224 + 68(spaces bar) was deemed by design to be a good minimum for the left panel. */
34-
--collapsedWidth: 224px;
35-
}
36-
3731
.mx_LeftPanel_wrapper {
3832
display: flex;
3933
flex-direction: row;
@@ -246,3 +240,10 @@ Please see LICENSE files in the repository root for full details.
246240
}
247241
}
248242
}
243+
244+
.mx_LeftPanel_newRoomList {
245+
/* Thew new rooms list is not designed to be collapsed to just icons. */
246+
/* 224 + 68(spaces bar) was deemed by design to be a good minimum for the left panel. */
247+
--collapsedWidth: 224px;
248+
background-color: var(--cpd-color-bg-canvas-default);
249+
}

0 commit comments

Comments
 (0)