Fix <summary> in nested accordions #15

This commit is contained in:
Lucas Larroche 2021-06-30 11:52:49 +07:00
parent 4c19be7e6b
commit 14460576bf
7 changed files with 10 additions and 10 deletions

View file

@ -1670,12 +1670,12 @@ details summary ~ * ~ * {
margin-top: 0;
}
details[open] summary {
details[open] > summary {
margin-bottom: calc(var(--spacing-typography) / 4);
color: var(--muted-text);
}
details[open] summary::after {
details[open] > summary::after {
transform: rotate(0);
}

File diff suppressed because one or more lines are too long

View file

@ -1874,12 +1874,12 @@ details summary ~ * ~ * {
margin-top: 0;
}
details[open] summary {
details[open] > summary {
margin-bottom: calc(var(--spacing-typography) / 4);
color: var(--muted-text);
}
details[open] summary::after {
details[open] > summary::after {
transform: rotate(0);
}

View file

@ -1666,12 +1666,12 @@ details summary ~ * ~ * {
margin-top: 0;
}
details[open] summary {
details[open] > summary {
margin-bottom: calc(var(--spacing-typography) / 4);
color: var(--muted-text);
}
details[open] summary::after {
details[open] > summary::after {
transform: rotate(0);
}

File diff suppressed because one or more lines are too long

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -59,7 +59,7 @@ details {
// Open
&[open] {
summary {
> summary {
margin-bottom: calc(var(--spacing-typography) / 4);
color: var(--muted-text);