fixed styling for chrome

This commit is contained in:
ari committed 2021-12-15 10:50:08 -05:00
1 parent 1643558240
commit 7e54e31efc
1 file changed
+5 -1
+5 -1
View File
@@ -12,8 +12,12 @@ export const useIconStyles = createAppUseStyles<IconStyleProps>(theme => ({
height: `${size}${units}`,
width: `${size}${units}`,
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
}),
svg: ({ color = theme.primaryAccent }) => ({
svg: ({ color = theme.primaryAccent, size, units = 'em' }) => ({
height: `${size}${units}`,
width: `${size}${units}`,
fill: color
})
}))