This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user