fix(app): 照 Notice 锁定视口——html/body overflow hidden + main-wrapper 内部滚动

This commit is contained in:
chenxing
2026-10-01 23:44:10 +08:00
parent 5b886f4fc2
commit ff0f79a473
+10
View File
@@ -63,11 +63,21 @@ const getRouterKey = (route: any) => route?.name;
opacity: 0; opacity: 0;
} }
/* 照 Notice 配方锁定视口:顶栏/侧栏/面包屑均 fixed,若 body 可滚,整页滚动会让内容
从 fixed 导航下方穿过(错位遮挡);改为 main-wrapper 内部滚动 */
html,
body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#app { #app {
height: 100%; height: 100%;
} }
.base-wrap-main .main-wrapper { .base-wrap-main .main-wrapper {
height: 100%; height: 100%;
overflow-y: auto;
} }
</style> </style>