diff --git a/frontend/common/src/ui/components/buttons/standard/ButtonWithIcon.tsx b/frontend/common/src/ui/components/buttons/standard/ButtonWithIcon.tsx index 992678a11..3809032c5 100644 --- a/frontend/common/src/ui/components/buttons/standard/ButtonWithIcon.tsx +++ b/frontend/common/src/ui/components/buttons/standard/ButtonWithIcon.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { ButtonProps, Tooltip } from '@mui/material'; +import { Box, ButtonProps, Tooltip } from '@mui/material'; import { ShrinkableBaseButton } from './ShrinkableBaseButton'; import { useIsScreen } from '@common/hooks'; @@ -41,23 +41,25 @@ export const ButtonWithIcon: React.FC = ({ const text = shrink ? null : label; return ( - - - - {centeredIcon} - {text} - - - + + + + + {centeredIcon} + {text} + + + + ); };