From 33118795f598bba5c09d8595aa25e9fe82048ec2 Mon Sep 17 00:00:00 2001
From: hailin <1356886193@qq.com>
Date: 星期二, 18 七月 2023 09:05:13 +0800
Subject: [PATCH] 侧边栏小补充
---
src/styles/element-ui.scss | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index dfae657..9b495c7 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -89,4 +89,25 @@
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner {
box-shadow: -0.00521rem 0 0 0 #b3d8ff;
-}
\ No newline at end of file
+}
+
+.el-menu-item,.el-submenu{
+ width: 100px;
+ height: 100px !important;
+ line-height:normal;
+ display: flex;
+ align-items: center;
+ justify-content: center !important;
+
+}
+// .el-menu-popup{
+// min-width: 100px !important;
+// }
+.el-menu--vertical{
+ max-width: 100px !important;
+}
+
+.el-menu--collapse .el-menu .el-submenu, .el-menu--popup {
+ min-width: 100px !important;
+ // background-color: #fff ;
+}
--
Gitblit v1.9.3