Skip to content
Snippets Groups Projects
Commit d407307d authored by Leonardo's avatar Leonardo
Browse files

chore: button line-hight fix

parent 7eed3ef0
No related branches found
Tags v1.109.1
No related merge requests found
Pipeline #136880 passed
......@@ -145,7 +145,7 @@ export const Button = React.forwardRef<HTMLButtonElement | HTMLAnchorElement | H
>
{iconPosition === 'leading' && icon}
{label && <span>{label}</span>}
{children && <span style={{ transform: 'translate(0, -1px)' }}>{children}</span>}
{children && <span>{children}</span>}
{iconPosition === 'trailing' && icon}
</ButtonComponent>
);
......
......@@ -22,6 +22,7 @@
span {
overflow: hidden;
text-overflow: ellipsis;
line-height: 1em;
}
svg {
width: 1em;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment