From fcba8274c89e3b00a7840ee4479188413d1fd676 Mon Sep 17 00:00:00 2001 From: stash Date: Thu, 29 Oct 2026 11:34:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E6=B8=90=E9=9A=90=E9=81=AE?= =?UTF-8?q?=E7=BD=A9=E4=B8=8D=E5=90=83=E5=B8=83=E5=B1=80=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=EF=BC=88=E6=8A=B5=E6=B6=88=20gap=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - margin-bottom 改为 -32px - gap,首卡回到 148,滚动高度回到 979 --- stash-web/src/App.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stash-web/src/App.css b/stash-web/src/App.css index 4bf5a1e..865277e 100644 --- a/stash-web/src/App.css +++ b/stash-web/src/App.css @@ -165,7 +165,8 @@ top: 0; z-index: 5; height: 32px; - margin-bottom: -32px; + /* 抵消自身高度 + 父容器 gap,避免把首张卡片往下顶 */ + margin-bottom: calc(-32px - var(--su-space-5)); pointer-events: none; opacity: 0; background: linear-gradient(to bottom, var(--su-bg-page) 0%, transparent 100%);