修复手机名单抽屉滚动:height:80vh 给 flex 子项确定高度,滚动生效
This commit is contained in:
+2
-10
@@ -801,17 +801,9 @@ a:hover {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 名单/房间抽屉:限制最大高度,内部用户列表区启用滚动 ── */
|
/* ── 名单/房间抽屉:限定高度,内部 flex 子项才能正确贡献高度 ── */
|
||||||
#mobile-drawer-users {
|
#mobile-drawer-users {
|
||||||
max-height: 80vh;
|
height: 80vh;
|
||||||
}
|
|
||||||
|
|
||||||
#mobile-drawer-users .mobile-drawer-body {
|
|
||||||
overflow: hidden;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex: 1;
|
|
||||||
min-height: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#mobile-drawer-users .mobile-right-clone {
|
#mobile-drawer-users .mobile-right-clone {
|
||||||
|
|||||||
Reference in New Issue
Block a user