This commit is contained in:
@@ -504,7 +504,8 @@
|
||||
padding: 0;
|
||||
gap: 0;
|
||||
padding-top: 0;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -593,8 +594,10 @@
|
||||
}
|
||||
|
||||
.order-swiper {
|
||||
flex: 1 1 0;
|
||||
height: auto;
|
||||
/* swiper 在 H5 中无法可靠地从 flex 容器继承剩余高度。 */
|
||||
flex: none;
|
||||
height: calc(100vh - 108rpx);
|
||||
height: calc(100dvh - 108rpx);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user