fix: 强制外层el-container为row方向
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Element UI 的 el-container 因 aside-menu 是自定义组件 (非 ElAside) 而误判为 vertical 方向。 通过 CSS 强制 .template > .el-container flex-direction: row
This commit is contained in:
@@ -25,6 +25,11 @@ html, body {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ============ 外层容器:强制水平方向 ============ */
|
||||||
|
.template > .el-container {
|
||||||
|
flex-direction: row !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* ============ 侧边栏 ============ */
|
/* ============ 侧边栏 ============ */
|
||||||
.el-aside {
|
.el-aside {
|
||||||
background: #FFFFFF !important;
|
background: #FFFFFF !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user