From 7e0e868c48ba3689feca75a795f3c9bf1edc0f4d Mon Sep 17 00:00:00 2001 From: Femoon Date: Wed, 24 Jul 2024 11:09:03 +0800 Subject: [PATCH] style: fix the width of some icons when the sidebar was collapsed (#201) Co-authored-by: pany <939630029@qq.com> --- src/layouts/components/Sidebar/SidebarItem.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/components/Sidebar/SidebarItem.vue b/src/layouts/components/Sidebar/SidebarItem.vue index 0159c8f..70a8c61 100644 --- a/src/layouts/components/Sidebar/SidebarItem.vue +++ b/src/layouts/components/Sidebar/SidebarItem.vue @@ -90,8 +90,8 @@ const resolvePath = (routePath: string) => { } .el-icon { - width: 1em; - margin-right: 12px; + width: 1em !important; + margin-right: 12px !important; font-size: 18px; }