feat: style toc simpler

This commit is contained in:
2024-04-07 02:56:29 +02:00
parent 7c331406a5
commit ff1188b4b2
3 changed files with 11 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ const { headings } = Astro.props;
<div class="toc-wrapper lg:fixed lg:left-6 lg:top-6">
<details
class="py-2 px-4 rounded-xl border border-neutral flex flex-col bg gap-2"
class="py-2 lg:px-4 rounded-xl lg:border lg:border-neutral flex flex-col lg:bg gap-2"
>
<summary class="text-lg cursor-pointer select-none"
>{t("toc.title")}</summary