From 1f9d9b160aeecf12446140de688588496e82da06 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Mon, 4 Mar 2024 16:09:23 -0800 Subject: [PATCH] Add min-width to sidebar so it won't shrink when the window gets too small (#373) --- src/app/common/elements/resizablesidebar.tsx | 2 +- src/app/sidebar/sidebar.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/common/elements/resizablesidebar.tsx b/src/app/common/elements/resizablesidebar.tsx index 2652c308..187b994c 100644 --- a/src/app/common/elements/resizablesidebar.tsx +++ b/src/app/common/elements/resizablesidebar.tsx @@ -151,7 +151,7 @@ class ResizableSidebar extends React.Component { const isCollapsed = mainSidebarModel.getCollapsed(); return ( -
+
{children(this.toggleCollapsed)}
{ } render() { - const sidebarWidth = GlobalModel.mainSidebarModel.getWidth(); - return (