From 498bad1cc3fa578368151b3ecbf460d3c0973114 Mon Sep 17 00:00:00 2001 From: XianYuDaXian Date: Sat, 14 Mar 2026 09:02:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(nsfw):=20=E7=BB=9F=E4=B8=80=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C=E6=A0=8F=E5=8C=85=E8=A3=85=E5=99=A8=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?(160px)=E4=BB=A5=E5=9E=82=E7=9B=B4=E5=AF=B9=E9=BD=90=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/public/css/nsfw.css | 20 ++++++++++++++++++++ app/static/public/pages/nsfw.html | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/static/public/css/nsfw.css b/app/static/public/css/nsfw.css index 6e64cdc..559ff05 100644 --- a/app/static/public/css/nsfw.css +++ b/app/static/public/css/nsfw.css @@ -1231,3 +1231,23 @@ html[data-theme='dark'] .nsfw-settings-sheet { color: #e2e8f0 !important; } } + +/* ============================ + nsfw Sticky Bar:让两行操作区等宽,垃圾桶对齐 + ============================ */ +@media (max-width: 900px) { + /* 固定两个操作区等宽 */ + .nsfw-image-actions, + .nsfw-video-actions { + width: 160px !important; + flex-shrink: 0 !important; + } + + /* 两个主按钮 min-width 统一,内容撑开至相同宽度 */ + .nsfw-main-btn, + #imGenerateBtn, + #imStartVideoBtn { + min-width: 108px !important; + flex: 1 !important; + } +} diff --git a/app/static/public/pages/nsfw.html b/app/static/public/pages/nsfw.html index 5cce05e..c32cad0 100644 --- a/app/static/public/pages/nsfw.html +++ b/app/static/public/pages/nsfw.html @@ -19,7 +19,7 @@ - +