Skip to content

Commit

Permalink
fix: Adjust icons min-width to fix Safari display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dexterca committed Oct 9, 2023
1 parent 2058722 commit c78fc36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ExpansionPanel/ExpansionPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const useStyles = makeStyles(
},
leadingIcon: {
marginRight: theme.spacing(1),
minWidth: 'fit-content',
minWidth: theme.pxToRem(18),
},
titleContainer: {
alignItems: 'center',
Expand All @@ -66,7 +66,7 @@ export const useStyles = makeStyles(
icon: {
transition: 'transform 0.25s ease',
color: theme.palette.primary.main,
minWidth: 'fit-content',
minWidth: theme.pxToRem(18),
},
rotate: {
transform: 'rotate(45deg)',
Expand Down

0 comments on commit c78fc36

Please sign in to comment.