Fix icon button group design (#12656)

- remove not expected animation
- move border to iconButtonGroup ui component
This commit is contained in:
martmull
2025-06-17 11:16:53 +02:00
committed by GitHub
parent 713d3defef
commit 54090a0340
3 changed files with 2 additions and 15 deletions
@@ -31,15 +31,6 @@ const StyledButton = styled.button`
}
`;
const StyledAnimatedIconWrapper = styled.span`
display: flex;
transition: transform 0.1s ease;
&:hover {
transform: translateY(-3%);
}
`;
export const InsideButton = ({
className,
Icon,
@@ -50,11 +41,7 @@ export const InsideButton = ({
return (
<StyledButton className={className} onClick={onClick} disabled={disabled}>
{Icon && (
<StyledAnimatedIconWrapper>
<Icon size={theme.icon.size.sm} />
</StyledAnimatedIconWrapper>
)}
{Icon && <Icon size={theme.icon.size.sm} />}
</StyledButton>
);
};