fix(h5): 修复 WebView 顶栏 logo 与内容重叠
embed 模式 header 改文档流、移除负 margin;持久化 sbh 并在路由中保留,避免胶囊区与档案条重叠。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user