mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Remove some unnecessary containment
Some forms of containment help performance more than others. For certain levels of perf improvement, it's not worth the extra bytes.
This commit is contained in:
parent
26025d928c
commit
ca16240b39
1 changed files with 0 additions and 8 deletions
|
@ -148,7 +148,6 @@ html {
|
||||||
h3,
|
h3,
|
||||||
li article,
|
li article,
|
||||||
summary,
|
summary,
|
||||||
[role="doc-backlink"],
|
|
||||||
[role="doc-endnotes"] {
|
[role="doc-endnotes"] {
|
||||||
content-visibility: auto;
|
content-visibility: auto;
|
||||||
contain-intrinsic-size: auto 3em;
|
contain-intrinsic-size: auto 3em;
|
||||||
|
@ -186,7 +185,6 @@ html {
|
||||||
main,
|
main,
|
||||||
pre,
|
pre,
|
||||||
summary,
|
summary,
|
||||||
:not(nav) > ol,
|
|
||||||
[role="doc-endnotes"],
|
[role="doc-endnotes"],
|
||||||
[role="doc-preface"] {
|
[role="doc-preface"] {
|
||||||
contain: inline-size layout paint;
|
contain: inline-size layout paint;
|
||||||
|
@ -210,7 +208,6 @@ html {
|
||||||
details,
|
details,
|
||||||
fieldset,
|
fieldset,
|
||||||
form {
|
form {
|
||||||
contain: inline-size layout;
|
|
||||||
margin: .5em 0;
|
margin: .5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -630,11 +627,6 @@ form > div {
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
/* Browsers like Safari make the submit button pill-shaped which
|
|
||||||
* clashes with the input box. One of the only purely-cosmetic changes
|
|
||||||
* on this site. */
|
|
||||||
appearance: none;
|
|
||||||
|
|
||||||
/* Don't shrink the size of the text in forms or make it system-ui. */
|
/* Don't shrink the size of the text in forms or make it system-ui. */
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
|
|
Loading…
Reference in a new issue