- 日视图滚动容器末尾新增留白(64rpx + 安全区),避免末条时间刻度与末个预约卡片贴边、滚到底仍缺一截 - 视口高度计算同步预留该留白,短时间轴不再因高度刚好等于内容高度而裁掉末条标签 - 时间刻度列加宽到 104rpx,刻度与泳道内容间距增至 20rpx,改善左侧呼吸感并避免刻度文字被截断
This commit is contained in:
@@ -371,12 +371,16 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.timeline-bottom-space {
|
||||
height: calc(64rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.time-axis {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 4;
|
||||
width: 92rpx;
|
||||
width: 104rpx;
|
||||
height: 100%;
|
||||
border-right: 1rpx solid #e7ece9;
|
||||
background: #ffffff;
|
||||
@@ -390,7 +394,7 @@
|
||||
|
||||
.time-label {
|
||||
position: absolute;
|
||||
right: 12rpx;
|
||||
right: 16rpx;
|
||||
color: #71807a;
|
||||
font-size: 20rpx;
|
||||
line-height: 1;
|
||||
@@ -402,7 +406,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 104rpx;
|
||||
left: 124rpx;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user