From 68504a70a08cc9e7405302a9b4446ee153e70570 Mon Sep 17 00:00:00 2001 From: Eugene Orlov Date: Tue, 6 Jun 2023 20:25:44 +0200 Subject: [PATCH] [site] fix: anchor offset use different header size on mobiles and desktops --- site/src/styles.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/site/src/styles.css b/site/src/styles.css index 02fd4a5c..4a7d09f8 100644 --- a/site/src/styles.css +++ b/site/src/styles.css @@ -198,9 +198,5 @@ @apply pointer-events-none; } .header-anchor::before { - @apply content-['']; - @apply block; - @apply h-16; - @apply -mt-16; - @apply invisible; + @apply content-[''] block h-24 -mt-24 invisible md:h-16 md:-mt-16; }