fix: use group-open
on padding
This commit is contained in:
parent
5504649890
commit
a84a9c5554
3 changed files with 4 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "astro-erudite",
|
"name": "astro-erudite",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "astro-erudite",
|
"name": "astro-erudite",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.9.4",
|
"@astrojs/check": "^0.9.4",
|
||||||
"@astrojs/markdown-remark": "^6.0.1",
|
"@astrojs/markdown-remark": "^6.0.1",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "astro-erudite",
|
"name": "astro-erudite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
|
|
@ -42,7 +42,7 @@ function buildToc(headings: Heading[]): Heading[] {
|
||||||
class="group col-start-2 mx-4 block rounded-xl border p-4 xl:hidden"
|
class="group col-start-2 mx-4 block rounded-xl border p-4 xl:hidden"
|
||||||
>
|
>
|
||||||
<summary
|
<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
|
Table of Contents
|
||||||
<Icon
|
<Icon
|
||||||
|
|
Loading…
Add table
Reference in a new issue