Prevent the details/summary styling to leak outside of buttons lists
This commit is contained in:
parent
f4d58a1ef7
commit
981638c4f6
1 changed files with 3 additions and 3 deletions
|
@ -225,14 +225,14 @@ summary {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle buttons with sub-buttons in CSS instead of JS. */
|
/* Handle buttons with sub-buttons in CSS instead of JS. */
|
||||||
details > summary {
|
.buttonlist details > summary {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
details > summary::before {
|
.buttonlist details > summary::before {
|
||||||
content: "▼";
|
content: "▼";
|
||||||
}
|
}
|
||||||
details[open] > summary::before {
|
.buttonlist details[open] > summary::before {
|
||||||
content: "▲";
|
content: "▲";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue