fix(client): runtime error with icons/space component (#42665)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>pull/42624/head
parent
61d1020dd7
commit
b334031b2f
|
@ -8,8 +8,6 @@ interface SpacerPropTypes {
|
||||||
function Spacer(props: SpacerPropTypes): JSX.Element {
|
function Spacer(props: SpacerPropTypes): JSX.Element {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
props.style = { paddingTop: '5', ...props.style };
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<span className='sr-only'>{t('icons.spacer')}</span>
|
<span className='sr-only'>{t('icons.spacer')}</span>
|
||||||
|
|
|
@ -32,6 +32,7 @@ export default function ToggleButton({
|
||||||
}: ButtonProps): JSX.Element {
|
}: ButtonProps): JSX.Element {
|
||||||
const checkIconStyle = {
|
const checkIconStyle = {
|
||||||
height: '15px',
|
height: '15px',
|
||||||
|
paddingTop: '5',
|
||||||
width: '20px'
|
width: '20px'
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue