From d0b001d0458b5e1ee061417fb93b0327607e5313 Mon Sep 17 00:00:00 2001 From: Femoon Date: Tue, 23 Jul 2024 16:19:58 +0800 Subject: [PATCH] style: fix the width of some icons when the sidebar was collapsed --- src/layouts/components/Sidebar/SidebarItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/Sidebar/SidebarItem.vue b/src/layouts/components/Sidebar/SidebarItem.vue index 0159c8fa..0219a070 100644 --- a/src/layouts/components/Sidebar/SidebarItem.vue +++ b/src/layouts/components/Sidebar/SidebarItem.vue @@ -90,7 +90,7 @@ const resolvePath = (routePath: string) => { } .el-icon { - width: 1em; + width: 1em !important; margin-right: 12px; font-size: 18px; }