fix: respect status bar safe area

This commit is contained in:
czz
2026-05-07 16:04:39 +08:00
parent 19ea7c89d0
commit c293f7f970
2 changed files with 11 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
.device-page {
position: relative;
min-height: 100vh;
padding: 24rpx 24rpx 156rpx;
padding: calc(var(--status-bar-height, 0px) + 24rpx) 24rpx 156rpx;
box-sizing: border-box;
background: linear-gradient(180deg, #1e2432 0%, #191f2c 100%);
overflow: hidden;