Add scroll margin top

This commit is contained in:
Gopal Kaul 2023-02-21 20:30:33 +05:30
parent 2874c682da
commit 04980fc4d5

View File

@ -21,7 +21,7 @@ const {
} = Astro.props;
---
<div class="px-4 py-16 mx-auto max-w-6xl lg:py-20" id="faqs">
<div class="px-4 py-16 mx-auto max-w-6xl lg:py-20 scroll-mt-16" id="faqs">
<div class="max-w-xl sm:mx-auto lg:max-w-2xl">
{
(title || subtitle || highlight) && (