This commit is contained in:
widgeter
2023-08-14 22:18:40 +02:00
2 changed files with 7 additions and 8 deletions

View File

@ -7,7 +7,7 @@ const { id, isDark = false, containerClass = "", bg, as = "section" } = Astro.pr
const WrapperTag = as;
---
<WrapperTag class="relative not-prose" {...id ? { id } : {}}>
<WrapperTag class="relative not-prose scroll-mt-[72px]" {...id ? { id } : {}}>
<div class="absolute inset-0 pointer-events-none -z-[1]" aria-hidden="true">
<slot name="bg">
{bg ? <Fragment set:html={bg} /> : <Background isDark={isDark} />}