- el-container: width:100% 确保全宽 - el-aside: 圆角16px + 阴影 + margin间距 + 去掉 border-right - menu-top: margin-top 86px → 12px (logo已移到顶栏) - 顶栏全宽对齐
This commit is contained in:
@@ -25,13 +25,28 @@ html, body {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ============ 布局容器 ============ */
|
||||||
|
.el-container {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* ============ 侧边栏 ============ */
|
/* ============ 侧边栏 ============ */
|
||||||
.el-aside {
|
.el-aside {
|
||||||
background: #FFFFFF !important;
|
background: #FFFFFF !important;
|
||||||
border-right: 1px solid rgba(0,0,0,0.06);
|
border-right: none !important;
|
||||||
height: calc(100vh - 60px) !important;
|
height: calc(100vh - 60px) !important;
|
||||||
position: sticky !important;
|
position: sticky !important;
|
||||||
top: 60px !important;
|
top: 60px !important;
|
||||||
|
margin: 12px 0 12px 12px !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
z-index: 10 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 去掉侧边栏旧的 margin-top(logo 已移到顶栏) */
|
||||||
|
.menu-top {
|
||||||
|
margin-top: 12px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ali-logo {
|
.ali-logo {
|
||||||
|
|||||||
Reference in New Issue
Block a user