@@ -251,17 +251,21 @@ const clearDate = () => {
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
- align-items: center;
+ align-items: flex-end;
justify-content: center;
z-index: 99999;
+ padding-bottom: env(safe-area-inset-bottom);
}
.date-picker-popup {
- width: 90%;
+ width: 100%;
max-width: 600rpx;
+ max-height: 80vh;
background: #ffffff;
- border-radius: 24rpx;
+ border-radius: 24rpx 24rpx 0 0;
padding: 32rpx;
+ padding-bottom: calc(32rpx + env(safe-area-inset-bottom));
+ overflow-y: auto;
.picker-header {