优化聊天室手机管理菜单和欢迎语
This commit is contained in:
@@ -1074,6 +1074,21 @@ a:hover {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 输入栏管理菜单在手机抽屉中会被原本的按钮相对定位带偏,手机端改为视口居中弹层。 */
|
||||
#admin-menu {
|
||||
position: fixed !important;
|
||||
top: 50% !important;
|
||||
right: auto !important;
|
||||
bottom: auto !important;
|
||||
left: 50% !important;
|
||||
width: min(92vw, 320px) !important;
|
||||
max-width: calc(100vw - 24px) !important;
|
||||
max-height: min(78vh, 560px) !important;
|
||||
box-sizing: border-box;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 10040 !important;
|
||||
}
|
||||
|
||||
/* ── 名单抽屉内用户列表 item 放大触摸区域 ── */
|
||||
#mob-online-users-list .user-item {
|
||||
padding: 7px 8px;
|
||||
|
||||
Reference in New Issue
Block a user