perf(report): 报表页表头不用 backdrop-filter —— sticky 元素滚动时每帧重算模糊
Deploy VitePress site to Pages / build (push) Canceled after 0s
Deploy VitePress site to Pages / Deploy (push) Canceled after 0s

This commit is contained in:
butubb
2026-10-22 14:01:28 +08:00
parent 8dbb709b7e
commit 2153207bf9
+3 -2
View File
@@ -39,8 +39,9 @@
gap: 12px;
flex-wrap: wrap;
padding: 12px 16px;
background: rgba(10, 14, 20, 0.92);
backdrop-filter: blur(8px);
/* 刻意不用 backdrop-filter:这个表头是 sticky 的,滚动时模糊要每帧重算,
在没有 GPU 加速的机器上很贵。纯色就够。 */
background: #0b1118;
border-bottom: 1px solid var(--line);
}
h1 { font-size: 15px; font-weight: 600; margin: 0; }