From a53843c7e162b0c0dcb40f6df00fcddc896f8b04 Mon Sep 17 00:00:00 2001 From: soryu Date: Tue, 27 Jan 2026 02:28:04 +0000 Subject: Fix overflow on history page filter bar - Add max-width constraint (300px) to contract select dropdown - Add flex-wrap to filter container to handle narrow viewports - Add overflow-hidden to prevent filter bar from causing page overflow - Add shrink-0 to date inputs and labels to prevent unwanted shrinking - Add whitespace-nowrap to event count to keep it on single line Prevents long contract names from causing the filter bar to overflow and push date inputs outside the page boundaries. Co-Authored-By: Claude Opus 4.5 --- .../src/components/history/HistoryFilters.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'makima/frontend/src') diff --git a/makima/frontend/src/components/history/HistoryFilters.tsx b/makima/frontend/src/components/history/HistoryFilters.tsx index a1a4945..898d30b 100644 --- a/makima/frontend/src/components/history/HistoryFilters.tsx +++ b/makima/frontend/src/components/history/HistoryFilters.tsx @@ -22,14 +22,14 @@ export function HistoryFilters({ totalCount, }: HistoryFiltersProps) { return ( -
+
{/* Contract filter */} -
- +
+
-
- +
+ Clear Filters )} {/* Result count */} -
+
{totalCount} event{totalCount !== 1 ? "s" : ""}
-- cgit v1.2.3