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