Skip to content

Commit

Permalink
Merge pull request #405 from lifeomic/safari-expansion-panel-bug
Browse files Browse the repository at this point in the history
Adjust `<ExpansionPanel` icons' min-widths to fix Safari display bug
  • Loading branch information
dexterca authored Oct 9, 2023
2 parents 2058722 + c78fc36 commit f6d852e
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 f6d852e

Please sign in to comment.