fix: use group-open
on padding
This commit is contained in:
parent
5504649890
commit
a84a9c5554
3 changed files with 4 additions and 4 deletions
|
@ -42,7 +42,7 @@ function buildToc(headings: Heading[]): Heading[] {
|
|||
class="group col-start-2 mx-4 block rounded-xl border p-4 xl:hidden"
|
||||
>
|
||||
<summary
|
||||
class="flex cursor-pointer items-center justify-between pb-4 text-xl font-semibold"
|
||||
class="flex cursor-pointer items-center justify-between text-xl font-semibold group-open:pb-4"
|
||||
>
|
||||
Table of Contents
|
||||
<Icon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue