fix note hidden

This commit is contained in:
rustdesk
2024-10-17 02:07:18 +08:00
parent 27d095fd90
commit fac81c48ef
3 changed files with 10 additions and 1 deletions

View File

@@ -15,10 +15,11 @@ const {
id,
bg = await Astro.slots.render('bg'),
className,
} = Astro.props;
---
<section class="relative md:-mt-[76px] not-prose" {...id ? { id } : {}}>
<section class={"relative md:-mt-[76px] not-prose " + (className || '')} {...id ? { id } : {}}>
<div class="absolute inset-0 pointer-events-none" aria-hidden="true">
<slot name="bg">
{bg ? <Fragment set:html={bg} /> : null}