From 55c8256900675968b736e5ba2136c907e7731bfd Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 16 Jul 2025 21:13:49 +0200 Subject: [PATCH] fix:put a background color to the left panel when the new room list is enabled (#30328) --- res/css/structures/_LeftPanel.pcss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/res/css/structures/_LeftPanel.pcss b/res/css/structures/_LeftPanel.pcss index c1886b6b80..e1411f8efa 100644 --- a/res/css/structures/_LeftPanel.pcss +++ b/res/css/structures/_LeftPanel.pcss @@ -28,12 +28,6 @@ Please see LICENSE files in the repository root for full details. --collapsedWidth: 68px; } -.mx_LeftPanel_newRoomList { - /* Thew new rooms list is not designed to be collapsed to just icons. */ - /* 224 + 68(spaces bar) was deemed by design to be a good minimum for the left panel. */ - --collapsedWidth: 224px; -} - .mx_LeftPanel_wrapper { display: flex; flex-direction: row; @@ -246,3 +240,10 @@ Please see LICENSE files in the repository root for full details. } } } + +.mx_LeftPanel_newRoomList { + /* Thew new rooms list is not designed to be collapsed to just icons. */ + /* 224 + 68(spaces bar) was deemed by design to be a good minimum for the left panel. */ + --collapsedWidth: 224px; + background-color: var(--cpd-color-bg-canvas-default); +}