Skip to content

Commit

Permalink
refactor: switched button group container spacing to align with theme
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsebn committed Oct 7, 2023
1 parent aa0410b commit 517be5b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ interface SelectedButtonProps extends ButtonProps {

export const ButtonGroupContainer = styled(Box)(({ theme }) => ({
display: 'flex',
padding: '4px',
padding: theme.spacing(0.5),
alignItems: 'center',
gap: '8px',
gap: theme.spacing(1),
justifyContent: 'center',
backgroundColor: '#F0F1FC',
borderRadius: '20px',
backgroundColor: theme.palette.grey[200],
borderRadius: '12px',
}));

export const SelectButton = styled(Button)<SelectedButtonProps>(
({ theme, selected }) => ({
borderRadius: '20px',
borderRadius: '12px',
flex: 1,
backgroundColor:
selected === 'Custom' || selected === 'Bookmarks'
Expand Down

0 comments on commit 517be5b

Please sign in to comment.