mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
fix: issue with white-space around links
This commit is contained in:
@@ -16,7 +16,5 @@ const isExternal = (href as string).startsWith('http');
|
|||||||
href={href}
|
href={href}
|
||||||
rel={isExternal ? 'nofollow noopener noreferrer' : undefined}
|
rel={isExternal ? 'nofollow noopener noreferrer' : undefined}
|
||||||
target={isExternal ? '_blank' : undefined}
|
target={isExternal ? '_blank' : undefined}
|
||||||
{...props}
|
{...props}><slot /></a
|
||||||
>
|
>
|
||||||
<slot />
|
|
||||||
</a>
|
|
||||||
|
|||||||
@@ -15,7 +15,5 @@ const { class: className, ...props } = Astro.props;
|
|||||||
'inline font-semibold text-shibui-950 underline decoration-shibui-900/20 decoration-4 underline-offset-auto no-common-ligatures hover:!decoration-accent focus:!decoration-accent dark:text-shibui-200/[0.87] dark:decoration-shibui-100/20',
|
'inline font-semibold text-shibui-950 underline decoration-shibui-900/20 decoration-4 underline-offset-auto no-common-ligatures hover:!decoration-accent focus:!decoration-accent dark:text-shibui-200/[0.87] dark:decoration-shibui-100/20',
|
||||||
className,
|
className,
|
||||||
]}
|
]}
|
||||||
{...props}
|
{...props}><slot /></Link
|
||||||
>
|
>
|
||||||
<slot />
|
|
||||||
</Link>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user