diff --git a/src/ui/ToggleBox.tsx b/src/ui/ToggleBox.tsx index 8a9847aa2..c74b552ed 100644 --- a/src/ui/ToggleBox.tsx +++ b/src/ui/ToggleBox.tsx @@ -15,50 +15,41 @@ type SuccessIconProps = { const SuccessIcon = ({ active }: SuccessIconProps) => { return ( - - - - - + + + + ); }; @@ -93,12 +84,14 @@ const ToggleBox = ({ borderRadius={getGlobalBorderRadius} disabled={disabled} css={` - position: relative; border: 1px solid ${active ? getValue('activeBorderColor') : getValue('borderColor')}; cursor: ${disabled ? 'not-allowed' : 'pointer'}; &:hover { + .success-icon-wrapper { + border-color: ${getValue('hoverBorderColor')}; + } border-color: ${disabled ? 'transparent' : getValue('hoverBorderColor')};