fix: ui
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 2m8s

This commit is contained in:
luo
2026-08-13 12:26:21 +08:00
parent a3fe025a88
commit c22cae9c38
2 changed files with 10 additions and 17 deletions

View File

@@ -723,12 +723,13 @@
/* Screenshot-aligned package list skin */
.container {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
gap: 18rpx;
padding: 20rpx 24rpx 48rpx;
height: 100vh;
height: 100dvh;
height: auto;
min-height: 0;
background: #f8f9fb;
box-sizing: border-box;
@@ -745,9 +746,7 @@
.tab-header {
flex-shrink: 0;
display: flex;
position: sticky;
top: 0;
z-index: 2;
position: relative;
background: #fff;
border-radius: 16rpx;
padding: 8rpx;
@@ -862,8 +861,7 @@
.package-swiper {
/* swiper 在 H5 中无法可靠地从嵌套 flex 获取自动高度。 */
flex: none;
height: calc(100vh - 190rpx);
height: calc(100dvh - 190rpx);
height: calc(100% - 116rpx);
overflow: hidden;
}