From 7b230899435f64c2191af136d8d43e273eb19d70 Mon Sep 17 00:00:00 2001 From: hailin <1356886193@qq.com> Date: 星期三, 19 七月 2023 13:03:43 +0800 Subject: [PATCH] 补充修复侧边栏的样式以及一些小问题 --- src/styles/element-ui.scss | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index dfae657..0463a2a 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -89,4 +89,28 @@ } .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 ; +} +.el-popover.el-popper{ + min-width: 60px !important; +} -- Gitblit v1.9.3