fix: 增强CSS覆盖, 重置common.css的position/height/top
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- el-header: top:auto, backdrop-filter:none, border-radius:0 - el-aside: height:auto, position:relative, top:auto, padding:0 - 确保所有旧值被完全覆盖
This commit is contained in:
@@ -55,12 +55,17 @@ html, body {
|
||||
width: 100% !important;
|
||||
height: 64px !important;
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
background: transparent !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
box-shadow: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0 !important;
|
||||
z-index: 100 !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-between !important;
|
||||
padding: 0 24px !important;
|
||||
}
|
||||
|
||||
@@ -69,7 +74,11 @@ html, body {
|
||||
grid-column: 1 !important;
|
||||
grid-row: 2 !important;
|
||||
width: 228px !important;
|
||||
height: auto !important;
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
margin: 0 0 20px 20px !important;
|
||||
padding: 0 !important;
|
||||
border-radius: 20px !important;
|
||||
background: rgba(255, 255, 255, 0.6) !important;
|
||||
backdrop-filter: blur(12px) !important;
|
||||
@@ -86,7 +95,7 @@ html, body {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 侧边栏菜单上边距 */
|
||||
/* 侧边栏菜单上边距和内边距 */
|
||||
.el-aside .menu-top {
|
||||
margin-top: 8px !important;
|
||||
padding: 0 12px !important;
|
||||
|
||||
Reference in New Issue
Block a user