diff --git a/components/ui/Select.tsx b/components/ui/Select.tsx index 3c9ccba..c978162 100644 --- a/components/ui/Select.tsx +++ b/components/ui/Select.tsx @@ -18,7 +18,7 @@ const Select = React.forwardRef( )} setSelectedMeasure(e.target.value as Measure)} + className="h-9 text-xs" style={{ - backgroundColor: - selectedMeasure === measure - ? getCategoryColorHex(measure) - : undefined, - borderColor: selectedMeasure !== measure - ? getCategoryColorHex(measure) - : undefined, - color: selectedMeasure === measure ? 'white' : undefined, + borderLeft: `4px solid ${getCategoryColorHex(selectedMeasure)}`, }} > - {formatMeasureName(measure)} - - ))} + {measures.map((measure) => ( + + ))} + + - - - - {/* Input Section */} - - - Convert {formatMeasureName(selectedMeasure)}