From 8b726cbfa7d69bd7dd21851eee90b78599814ccd Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Sat, 10 Sep 2022 15:02:07 +0630 Subject: [PATCH] Add group-hover effect for all posts button --- src/pages/index.astro | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index c6c3955..1c949ce 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -108,9 +108,11 @@ const sortedPosts = posts.sort( }
- + All Posts - @@ -163,7 +165,10 @@ const sortedPosts = posts.sort( .all-posts-btn-wrapper { @apply text-center my-8; } + .all-posts-btn-wrapper a { + @apply hover:text-skin-accent; + } .all-posts-btn-wrapper svg { - @apply inline-block w-6 h-6 fill-skin-base hover:fill-skin-accent; + @apply inline-block w-6 h-6; }