From cb8ffcbb6a8ae7dde67ddbcf35c52d4e699b00d5 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 16 Oct 2021 06:05:25 -0700 Subject: [PATCH] Decrease width of expanded sidebar from 193 -> 165 --- src/components/layout/Sidebar.tsx | 2 +- src/components/layout/styled.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 9697b32..c8d845f 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -13,7 +13,7 @@ const Sidebar = ({ return ( (props.expanded ? '193px' : '56px')}; + padding-left: ${(props) => (props.expanded ? '165px' : '56px')}; height: calc(100% - 32px); margin-top: 32px; overflow-y: auto;