🔧 调整日期范围间距
This commit is contained in:
@@ -102,7 +102,7 @@ const updatePart = (part: DatePart, value: string) => {
|
||||
min-height: 2.75rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.15rem;
|
||||
gap: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 30px;
|
||||
background: rgba(237, 244, 245, 0.52);
|
||||
@@ -150,12 +150,12 @@ const updatePart = (part: DatePart, value: string) => {
|
||||
}
|
||||
|
||||
.native-date-year {
|
||||
width: 4.4rem;
|
||||
width: 4.05rem;
|
||||
}
|
||||
|
||||
.native-date-month,
|
||||
.native-date-day {
|
||||
width: 2.65rem;
|
||||
width: 2.3rem;
|
||||
}
|
||||
|
||||
.native-date-separator {
|
||||
@@ -187,8 +187,8 @@ const updatePart = (part: DatePart, value: string) => {
|
||||
@media (min-width: 640px) {
|
||||
.native-date-strip {
|
||||
width: max-content;
|
||||
min-width: 12rem;
|
||||
padding-inline: 0.75rem;
|
||||
min-width: 10.75rem;
|
||||
padding-inline: 0.65rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user