diff --git a/public/css/chat.css b/public/css/chat.css index 5808cea..cd04be3 100644 --- a/public/css/chat.css +++ b/public/css/chat.css @@ -801,13 +801,17 @@ a:hover { color: #fff; } - /* ── 名单/房间抽屉:复用原 right-panel 结构 ── */ + /* ── 名单/房间抽屉:限制最大高度,内部用户列表区启用滚动 ── */ + #mobile-drawer-users { + max-height: 80vh; + } + #mobile-drawer-users .mobile-drawer-body { - max-height: 65vh; overflow: hidden; display: flex; flex-direction: column; flex: 1; + min-height: 0; } #mobile-drawer-users .mobile-right-clone { @@ -825,7 +829,8 @@ a:hover { #mobile-drawer-users .user-list-content { flex: 1; overflow-y: auto; - max-height: calc(65vh - 80px); + min-height: 0; + -webkit-overflow-scrolling: touch; } #mobile-drawer-users .online-stats { diff --git a/resources/views/chat/partials/layout/mobile-drawer.blade.php b/resources/views/chat/partials/layout/mobile-drawer.blade.php index 1461813..2cac2b4 100644 --- a/resources/views/chat/partials/layout/mobile-drawer.blade.php +++ b/resources/views/chat/partials/layout/mobile-drawer.blade.php @@ -86,7 +86,7 @@ {{-- 用户列表容器 --}}