From 2514bc06472f43e0a6bab8f209112e42f66e821a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Nordstr=C3=B6m?= Date: Sat, 31 Aug 2024 14:41:57 +0200 Subject: [PATCH] fix: negative margin on headings covering links --- src/components/illustrationList/illustrationList.module.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/illustrationList/illustrationList.module.css b/src/components/illustrationList/illustrationList.module.css index 1ee006c0..293125c1 100644 --- a/src/components/illustrationList/illustrationList.module.css +++ b/src/components/illustrationList/illustrationList.module.css @@ -9,9 +9,8 @@ .illustrationList h3 { padding-top: 0; margin: 0; - margin-top: -6rem; - padding-top: 6rem; line-height: 1; + scroll-margin-top: 6rem; } .illustrationList__flex {