修复月视图长姓名撑开格子

This commit is contained in:
2026-07-25 20:39:38 +08:00
parent 09b084237e
commit 8117437fa1
3 changed files with 30 additions and 3 deletions
+21 -3
View File
@@ -895,6 +895,7 @@
}
.month-cell {
min-width: 0;
min-height: 168rpx;
padding: 8rpx 5rpx;
border-right: 1rpx solid #eee8df;
@@ -1008,27 +1009,44 @@
}
.month-row-name {
width: 100%;
height: 100%;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.month-row-name-track {
display: inline-flex;
display: flex;
align-items: center;
height: 100%;
min-width: 0;
max-width: 100%;
overflow: hidden;
}
.month-row-name.scrolling {
justify-content: flex-start;
}
.month-row-name.scrolling .month-row-name-track {
flex: none;
max-width: none;
overflow: visible;
animation: month-row-name-scroll 4.8s linear infinite;
}
.month-row-name-text {
flex: none;
display: block;
max-width: 100%;
overflow: hidden;
padding: 0 10rpx;
text-overflow: ellipsis;
}
.month-row-name-copy {