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. */
|
||||
details > summary {
|
||||
.buttonlist details > summary {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
details > summary::before {
|
||||
.buttonlist details > summary::before {
|
||||
content: "▼";
|
||||
}
|
||||
details[open] > summary::before {
|
||||
.buttonlist details[open] > summary::before {
|
||||
content: "▲";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue