Skip to content

Commit

Permalink
Bugfix: Reset filter not responsive (#56)
Browse files Browse the repository at this point in the history
Fixes issue #35. 

This PR makes the button clickable instead of the text.

Co-authored-by: Nick Koster <[email protected]>
  • Loading branch information
prik and Nick Koster authored Oct 18, 2023
1 parent 00aa0e2 commit 564d72b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/components/input-fields/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ export const Select: FC<SelectProps> = ({ options, onChange, onArrayChange, isMu

return (
<SelectBox height={height}>
<ClearButton>
<ButtonText onClick={resetComponent} customColor={color.darkGrey}>
reset
</ButtonText>
<ClearButton onClick={resetComponent}>
<ButtonText customColor={color.darkGrey}>reset</ButtonText>
<CloseIcon />
</ClearButton>
<HorizontalDivider />
Expand Down

0 comments on commit 564d72b

Please sign in to comment.