From b945f5a17664823e5ab2967e61bc3f3d38aa4087 Mon Sep 17 00:00:00 2001 From: hailin <1356886193@qq.com> Date: 星期二, 18 七月 2023 08:57:18 +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