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

@ -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);
}