Skip to content

Commit

Permalink
chore: minor button style adjustments (#9170)
Browse files Browse the repository at this point in the history
Make it look more like a dropdown
  • Loading branch information
thomasheartman authored Jan 29, 2025
1 parent f455683 commit 08c016b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,15 @@ export const PeriodSelector: FC<Props> = ({ selectedPeriod, setPeriod }) => {
fontWeight: 'normal',
color: theme.palette.text.primary,
borderColor: theme.palette.divider,
borderWidth: '2px',
':focus-within': {
borderColor: theme.palette.primary.main,
},
':hover': {
borderWidth: '2px', // Prevent the border from changing width on hover
borderColor: theme.palette.text.disabled,
backgroundColor: 'inherit',
},

transition: 'border-color 0.1s ease',
})}
variant='outlined'
disableRipple
Expand Down

0 comments on commit 08c016b

Please sign in to comment.