diff --git a/libs/shared/lib/components/buttons/Button.tsx b/libs/shared/lib/components/buttons/Button.tsx index 0b09a140f28dea522627c1d83322cea7cb575948..f4e5c04dd148f17fc07899461b50a14f150a2d88 100644 --- a/libs/shared/lib/components/buttons/Button.tsx +++ b/libs/shared/lib/components/buttons/Button.tsx @@ -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> ); diff --git a/libs/shared/lib/components/buttons/buttons.module.scss b/libs/shared/lib/components/buttons/buttons.module.scss index ec502e7d748f127e8c7d347841d24e7338f1ca00..3c65332d224eb1e369549e22481e2fb2da8c09c6 100644 --- a/libs/shared/lib/components/buttons/buttons.module.scss +++ b/libs/shared/lib/components/buttons/buttons.module.scss @@ -22,6 +22,7 @@ span { overflow: hidden; text-overflow: ellipsis; + line-height: 1em; } svg { width: 1em;