🎛️ 收紧日期数字间距

This commit is contained in:
2026-06-05 13:48:30 +08:00
parent 9a2b076ca4
commit 5d24055517
+5 -4
View File
@@ -150,15 +150,16 @@ const updatePart = (part: DatePart, value: string) => {
}
.native-date-year {
width: 4.05rem;
width: 3.85rem;
}
.native-date-month,
.native-date-day {
width: 2.3rem;
width: 2.05rem;
}
.native-date-separator {
margin-inline: -0.1rem;
color: #789096;
font-size: 0.95rem;
opacity: 0.78;
@@ -187,8 +188,8 @@ const updatePart = (part: DatePart, value: string) => {
@media (min-width: 640px) {
.native-date-strip {
width: max-content;
min-width: 10.75rem;
padding-inline: 0.65rem;
min-width: 9.75rem;
padding-inline: 0.55rem;
}
}
</style>