css: Apply `box-sizing:border-box` to all `<details>` children

We have this everywhere else, so it should not be different here.
This commit is contained in:
Johannes Meyer 2022-07-26 12:45:00 +02:00
parent 503f9b7316
commit 3c2c79b669
1 changed files with 4 additions and 0 deletions

View File

@ -194,6 +194,10 @@
html {
box-sizing: border-box;
}
details > * {
// children somehow default to content-box no matter the inheritance
box-sizing: border-box;
}
*,
*:before,
*:after {