fix: 去掉顶部独立块,消除横向分割线

- 删除 top-dock 与其半透明填充/底边
- 搜索框保持 fixed 悬浮,页头实底
- 顶部与内容之间只保留页面背景自然渐变
- 验证:top-dock 数量为 0,背景连续
This commit is contained in:
2026-10-31 16:54:44 +08:00
parent e13c2b2ce6
commit ddef75f862
4 changed files with 8 additions and 16 deletions
-14
View File
@@ -149,20 +149,6 @@
box-shadow: var(--su-shadow-card);
}
/* 页头下方独立的一条顶部块:承载搜索框,半透明 */
.top-dock {
position: fixed;
top: 60px;
right: 0;
left: 0;
z-index: 0;
height: 88px;
pointer-events: none;
background-color: color-mix(in srgb, var(--su-bg-page) 28%, transparent);
backdrop-filter: blur(10px);
border-bottom: 1px solid color-mix(in srgb, var(--su-border) 35%, transparent);
}
/* 搜索框半透明,顶部区域透出背景 */
.search-row > *:first-child {
background-color: color-mix(in srgb, var(--su-bg-card) 60%, transparent);
-1
View File
@@ -592,7 +592,6 @@ export default function AppNext() {
/>
<div className="site-background" aria-hidden="true" />
<div className="top-dock" aria-hidden="true" />
<Layout
contained