diff --git a/client/src/assets/icons/spacer.tsx b/client/src/assets/icons/spacer.tsx index 8ff0c4a7c35..f4daee9ba17 100644 --- a/client/src/assets/icons/spacer.tsx +++ b/client/src/assets/icons/spacer.tsx @@ -8,8 +8,6 @@ interface SpacerPropTypes { function Spacer(props: SpacerPropTypes): JSX.Element { const { t } = useTranslation(); - props.style = { paddingTop: '5', ...props.style }; - return ( {t('icons.spacer')} diff --git a/client/src/components/helpers/toggle-button.tsx b/client/src/components/helpers/toggle-button.tsx index 256d20a44ff..c2f3a934580 100644 --- a/client/src/components/helpers/toggle-button.tsx +++ b/client/src/components/helpers/toggle-button.tsx @@ -32,6 +32,7 @@ export default function ToggleButton({ }: ButtonProps): JSX.Element { const checkIconStyle = { height: '15px', + paddingTop: '5', width: '20px' }; return (