fixed styling for chrome
This commit is contained in:
1 parent
1643558240
commit
7e54e31efc
1 file changed
+5
-1
@@ -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
|
||||
})
|
||||
}))
|
||||
|
||||
Reference in new issue
Block a user