From c78fc366fb9d4a4d18c5b54a984b195e0d19d25f Mon Sep 17 00:00:00 2001 From: Casey Dexter Date: Mon, 9 Oct 2023 10:17:35 -0400 Subject: [PATCH] fix: Adjust icons min-width to fix Safari display bug --- src/components/ExpansionPanel/ExpansionPanel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ExpansionPanel/ExpansionPanel.tsx b/src/components/ExpansionPanel/ExpansionPanel.tsx index bfe861a8..69aff0bd 100644 --- a/src/components/ExpansionPanel/ExpansionPanel.tsx +++ b/src/components/ExpansionPanel/ExpansionPanel.tsx @@ -45,7 +45,7 @@ export const useStyles = makeStyles( }, leadingIcon: { marginRight: theme.spacing(1), - minWidth: 'fit-content', + minWidth: theme.pxToRem(18), }, titleContainer: { alignItems: 'center', @@ -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)',