fix(h5): 修复 WebView 顶栏 logo 与内容重叠

embed 模式 header 改文档流、移除负 margin;持久化 sbh 并在路由中保留,避免胶囊区与档案条重叠。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-25 01:22:39 +08:00
co-authored by Cursor
parent 9d4fb52d29
commit f4bd57ce1b
7 changed files with 48 additions and 14 deletions
+1 -2
View File
@@ -48,10 +48,9 @@ const {
.home {
position: relative;
overflow-x: hidden;
margin-top: calc(-1 * var(--yxg-safe-top));
padding-top: var(--yxg-page-top);
padding-bottom: var(--spacing-xs);
min-height: calc(100% + var(--yxg-safe-top));
min-height: 100%;
background: var(--yxg-page-wash);
}
.atm {