From 9763789bd13cc5a7094d96c2ea4cbfd325e47c27 Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Mon, 12 Sep 2022 18:20:05 +0630 Subject: [PATCH] Add outline style on focus-visible --- src/components/Card.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Card.astro b/src/components/Card.astro index 12f3bd8..77daae1 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -26,11 +26,11 @@ const { href, post, secHeading = true } = Astro.props; @apply my-6; } a { - @apply text-skin-accent font-medium text-lg; + @apply text-skin-accent font-medium text-lg underline-offset-4 decoration-dashed focus-visible:underline; } a h2, a h3 { - @apply font-medium text-lg hover:underline underline-offset-4 decoration-dashed; + @apply font-medium text-lg hover:underline; } .date-time-wrapper { @apply opacity-80;