From 82800a5d73121a7c0e3ded2e937708d8322554e8 Mon Sep 17 00:00:00 2001 From: stdavis Date: Tue, 19 Nov 2024 12:43:10 -0700 Subject: [PATCH] fix: species/length filter input and buttons layout Fixes #246 --- src/components/filters/SpeciesLength.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/filters/SpeciesLength.tsx b/src/components/filters/SpeciesLength.tsx index 868d70e..a32c3a5 100644 --- a/src/components/filters/SpeciesLength.tsx +++ b/src/components/filters/SpeciesLength.tsx @@ -30,6 +30,9 @@ function RowControls({ species, min, max, onChange, addRow, removeRow, isLast }: ); } + const iconClasses = 'w-5 text-zinc-700 dark:text-zinc-50'; + const buttonClasses = 'p-0'; + return ( <>
@@ -52,7 +55,7 @@ function RowControls({ species, min, max, onChange, addRow, removeRow, isLast }: )} onChange({ species, min, max: newValue })} /> {isLast ? ( - ) : ( - )}