Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 58fc7f0

Browse files
committed
style
1 parent 0d2cb8d commit 58fc7f0

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/components/portals/CalendarPortal.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,15 @@ const CalendarPortal = (calendarProps: CalendarProps) => {
5555
};
5656

5757
return (
58-
<DatePicker
59-
dateFormat="yyyy-MM-dd"
60-
selected={calendarState}
61-
onChange={handleCalendarChange}
62-
popperContainer={CalendarContainer}
63-
placeholderText="Pick a date..."
64-
className="data-input calendar"
65-
/>
58+
<div className="data-input calendar">
59+
<DatePicker
60+
dateFormat="yyyy-MM-dd"
61+
selected={calendarState}
62+
onChange={handleCalendarChange}
63+
popperContainer={CalendarContainer}
64+
placeholderText="Pick a date..."
65+
/>
66+
</div>
6667
);
6768
};
6869

styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,11 @@
423423
display: inline-block;
424424
padding: 0;
425425
border: 0;
426-
width: 100%;
427426
}
428427

429428
.react-datepicker-wrapper input[type="text"] {
430429
border: none;
430+
font-family: "Inter", sans-serif;
431431
}
432432

433433
.react-datepicker {

0 commit comments

Comments
 (0)