fix:日期选择问题
This commit is contained in:
@@ -712,6 +712,13 @@ input[type="number"] {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
.tab:hover {
|
||||
color: var(--muted);
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
|
||||
@@ -363,9 +363,10 @@ function DatePicker({ value, onChange }) {
|
||||
}}
|
||||
>
|
||||
<div className="calendar-header" style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 12 }}>
|
||||
<button onClick={handlePrevMonth} className="icon-button" style={{ width: 24, height: 24 }}><</button>
|
||||
<button type="button" onClick={handlePrevMonth} className="icon-button" style={{ width: 24, height: 24 }}><</button>
|
||||
<span style={{ fontWeight: 600 }}>{year}年 {month + 1}月</span>
|
||||
<button
|
||||
type="button"
|
||||
onClick={handleNextMonth}
|
||||
className="icon-button"
|
||||
style={{ width: 24, height: 24 }}
|
||||
|
||||
Reference in New Issue
Block a user