style(website): misalignment of icon in button

This commit is contained in:
Elian Doran
2025-09-27 17:27:02 +03:00
parent ac45617d8f
commit 61ea27c8f4
2 changed files with 5 additions and 1 deletions

View File

@@ -13,4 +13,8 @@ a.button.outline {
border: 1px solid var(--brand-1); border: 1px solid var(--brand-1);
color: var(--brand-1); color: var(--brand-1);
background-color: transparent; background-color: transparent;
}
a.button .text {
vertical-align: middle;
} }

View File

@@ -26,7 +26,7 @@ export default function Button({ iconSvg, text, className, outline, ...restProps
{...restProps} {...restProps}
> >
{iconSvg && <><Icon svg={iconSvg} />{" "}</>} {iconSvg && <><Icon svg={iconSvg} />{" "}</>}
{text} <span class="text">{text}</span>
</Link> </Link>
) )
} }