fix(web): 渐隐遮罩不吃布局高度(抵消 gap)

- margin-bottom 改为 -32px - gap,首卡回到 148,滚动高度回到 979
This commit is contained in:
stash
2026-10-29 11:34:22 +08:00
parent f456829d16
commit fcba8274c8
+2 -1
View File
@@ -165,7 +165,8 @@
top: 0; top: 0;
z-index: 5; z-index: 5;
height: 32px; height: 32px;
margin-bottom: -32px; /* 抵消自身高度 + 父容器 gap,避免把首张卡片往下顶 */
margin-bottom: calc(-32px - var(--su-space-5));
pointer-events: none; pointer-events: none;
opacity: 0; opacity: 0;
background: linear-gradient(to bottom, var(--su-bg-page) 0%, transparent 100%); background: linear-gradient(to bottom, var(--su-bg-page) 0%, transparent 100%);