diff --git a/webapp/src/components/Icons/base.tsx b/webapp/src/components/Icons/base.tsx index 9d48a30..06bd6cf 100644 --- a/webapp/src/components/Icons/base.tsx +++ b/webapp/src/components/Icons/base.tsx @@ -12,8 +12,12 @@ export const useIconStyles = createAppUseStyles(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 }) }))