fix: 强制外层el-container为row方向
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:
yiqiu
2026-03-20 08:33:27 +08:00
parent b5fc98a1d4
commit 504474c8cb

View File

@@ -25,6 +25,11 @@ html, body {
display: none;
}
/* ============ 外层容器:强制水平方向 ============ */
.template > .el-container {
flex-direction: row !important;
}
/* ============ 侧边栏 ============ */
.el-aside {
background: #FFFFFF !important;