From 57430462003361e414f203d7f39b9aec25794b96 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 25 Jul 2024 15:55:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20use=20=E2=80=94narbar-background?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/app/Sidebar.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/app/Sidebar.tsx b/src/renderer/src/components/app/Sidebar.tsx index 6dda88a9..155182d0 100644 --- a/src/renderer/src/components/app/Sidebar.tsx +++ b/src/renderer/src/components/app/Sidebar.tsx @@ -117,7 +117,8 @@ const StyledLink = styled(Link)` const PlaceholderBorderMac = styled.div` width: var(--sidebar-width); height: var(--navbar-height); - border-right: 1px solid #1f1f1f; + background: var(--navbar-background); + border-right: 1px solid var(--navbar-background); border-bottom: 0.5px solid var(--color-border); position: absolute; top: 0; @@ -128,7 +129,7 @@ const PlaceholderBorderWin = styled.div` width: var(--sidebar-width); height: var(--navbar-height); position: absolute; - border-right: 1px solid #1f1f1f; + border-right: 1px solid var(--navbar-background); top: -1px; right: -1px; `