chore(SW-912): add underline to alert link

This commit is contained in:
Matilda Landström
2024-11-25 08:47:06 +01:00
parent 21f9719050
commit f54ab70ffd

View File

@@ -30,7 +30,6 @@ export default function Alert({
if (!text && !heading) { if (!text && !heading) {
return null return null
} }
return ( return (
<section className={classNames}> <section className={classNames}>
<div className={styles.content}> <div className={styles.content}>
@@ -65,7 +64,7 @@ export default function Alert({
) : null} ) : null}
</div> </div>
{link ? ( {link ? (
<Link color="burgundy" href={link.url}> <Link color="burgundy" textDecoration="underline" href={link.url}>
{link.title} {link.title}
</Link> </Link>
) : null} ) : null}