feat: make root header status-bar safe

This commit is contained in:
rain
2026-07-13 10:31:52 +08:00
parent 086917224a
commit 974369587a
6 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ const goBack = () => uni.navigateBack()
.page-header--root {
position: relative;
z-index: 3;
height: 164rpx;
padding-top: env(safe-area-inset-top);
height: calc(124rpx + var(--status-bar-height, 0px));
padding-top: var(--status-bar-height, 0px);
background-color: #b52e22;
overflow: hidden;
}