From 74e4803bc2605a25e2c9f90b5c1fa3bff92e15fa Mon Sep 17 00:00:00 2001 From: pllx Date: Tue, 12 May 2026 19:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E6=AC=A2=E8=BF=8E=E8=AF=AD=E5=BC=B9=E7=AA=97=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/css/chat.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/resources/css/chat.css b/resources/css/chat.css index d4430b2..d625071 100644 --- a/resources/css/chat.css +++ b/resources/css/chat.css @@ -1089,6 +1089,31 @@ a:hover { z-index: 10040 !important; } + /* 欢迎语模板较长,手机端同样需要脱离按钮定位,避免右侧被屏幕裁掉。 */ + #welcome-menu { + position: fixed !important; + top: 50% !important; + right: auto !important; + bottom: auto !important; + left: 50% !important; + width: min(92vw, 340px) !important; + min-width: 0 !important; + max-width: calc(100vw - 24px) !important; + max-height: min(72vh, 520px) !important; + box-sizing: border-box; + overflow-y: auto; + transform: translate(-50%, -50%); + z-index: 10040 !important; + } + + #welcome-menu .welcome-menu-item { + white-space: normal; + overflow: visible; + text-overflow: clip; + line-height: 1.45; + word-break: break-word; + } + /* ── 名单抽屉内用户列表 item 放大触摸区域 ── */ #mob-online-users-list .user-item { padding: 7px 8px;