From d1f7b93d7761833546c8d9672a01c97083a65ef2 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sat, 10 May 2025 15:59:39 +0800 Subject: [PATCH] perf: sidebar width --- .../app/home/components/home-sidebar/HomeSidebar.module.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/app/home/components/home-sidebar/HomeSidebar.module.css b/web/src/app/home/components/home-sidebar/HomeSidebar.module.css index 7f08d649..e3d89955 100644 --- a/web/src/app/home/components/home-sidebar/HomeSidebar.module.css +++ b/web/src/app/home/components/home-sidebar/HomeSidebar.module.css @@ -1,6 +1,6 @@ .sidebarContainer { box-sizing: border-box; - width: 200px; + width: 11rem; height: 100vh; background-color: #eee; display: flex; @@ -59,10 +59,10 @@ .sidebarChildContainer { - width: 10rem; + width: 9rem; height: 3rem; margin: 0.8rem 0; - padding-left: 2rem; + padding-left: 1.6rem; font-size: 1rem; border-radius: 12px; display: flex;