From 47ced3fcc2826ca0b678d8bfa561f7bc75cb0860 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 13 Feb 2025 16:25:38 +0100 Subject: [PATCH] feat: remove blur effect in space --- res/css/structures/_SpacePanel.pcss | 5 +++++ src/components/structures/LoggedInView.tsx | 8 ++++++-- src/components/views/spaces/SpacePanel.tsx | 7 ++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/res/css/structures/_SpacePanel.pcss b/res/css/structures/_SpacePanel.pcss index 664d781829a..936bd8fd8dc 100644 --- a/res/css/structures/_SpacePanel.pcss +++ b/res/css/structures/_SpacePanel.pcss @@ -30,6 +30,11 @@ Please see LICENSE files in the repository root for full details. width: 68px; } + &.newUi { + background-color: var(--cpd-color-bg-canvas-default); + border-right: 1px solid var(--cpd-color-bg-subtle-primary); + } + .mx_SpacePanel_toggleCollapse { position: absolute; width: 18px; diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index cf68f85b4cd..2f57e73f3b5 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -701,6 +701,8 @@ class LoggedInView extends React.Component { return ; }); + const newRoomListEnabled = SettingsStore.getValue("feature_new_room_list"); + return (
{
- + {!newRoomListEnabled && ( + + )} - + {!newRoomListEnabled && }
{ } }); + const newRoomListEnabled = useSettingValue("feature_new_room_list"); + return ( {({ onKeyDownHandler, onDragEndHandler }) => ( @@ -378,7 +380,10 @@ const SpacePanel: React.FC = () => { }} >