From 05a1e14060d7df4b47aef19284a84fd471389bd0 Mon Sep 17 00:00:00 2001 From: David Langley Date: Wed, 16 Apr 2025 13:11:18 +0100 Subject: [PATCH] Don't toggle to the minimised left bar size. --- res/css/structures/_LeftPanel.pcss | 2 +- src/components/structures/LoggedInView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/css/structures/_LeftPanel.pcss b/res/css/structures/_LeftPanel.pcss index c76fd5da02..c042b12acd 100644 --- a/res/css/structures/_LeftPanel.pcss +++ b/res/css/structures/_LeftPanel.pcss @@ -25,7 +25,7 @@ Please see LICENSE files in the repository root for full details. .mx_LeftPanel_wrapper, .mx_LeftPanel { - --collapsedWidth: 68px; + --collapsedWidth: 232px; } .mx_LeftPanel_wrapper { diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index cf68f85b4c..2832918360 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -261,7 +261,7 @@ class LoggedInView extends React.Component { let panelCollapsed: boolean; const collapseConfig: ICollapseConfig = { // TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel - toggleSize: 206 - 50, + toggleSize: 232, onCollapsed: (collapsed) => { panelCollapsed = collapsed; if (collapsed) {