diff --git a/src/components/DateFilter/index.tsx b/src/components/DateFilter/index.tsx index 240b24e4..4d18c666 100644 --- a/src/components/DateFilter/index.tsx +++ b/src/components/DateFilter/index.tsx @@ -286,7 +286,6 @@ const DateFilter: React.FC = () => { setDate(selectedDays.start); inputRef.current?.blur(); setCalendarOpen(false); - // setButtonActive(false); }, [selectedDays, startTime, endTime, filterDate]); const handleStartTimeChange = (e: React.ChangeEvent) => { @@ -325,7 +324,7 @@ const DateFilter: React.FC = () => { {calendarOpen && ( - e.preventDefault()}> +

Date Filter

@@ -392,6 +391,7 @@ const DateFilter: React.FC = () => { props.theme.gray700}; ${props => props.theme.dark && `color-scheme: dark;`} border-radius: 0.25rem; - width: 7rem; + min-width: 4rem; + max-width: 5.2rem; `; export const CalendarContainer = styled.div`