mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 17:52:11 +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,
|
||||
li article,
|
||||
summary,
|
||||
[role="doc-backlink"],
|
||||
[role="doc-endnotes"] {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 3em;
|
||||
|
@ -186,7 +185,6 @@ html {
|
|||
main,
|
||||
pre,
|
||||
summary,
|
||||
:not(nav) > ol,
|
||||
[role="doc-endnotes"],
|
||||
[role="doc-preface"] {
|
||||
contain: inline-size layout paint;
|
||||
|
@ -210,7 +208,6 @@ html {
|
|||
details,
|
||||
fieldset,
|
||||
form {
|
||||
contain: inline-size layout;
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
|
@ -630,11 +627,6 @@ form > div {
|
|||
}
|
||||
|
||||
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. */
|
||||
font-family: sans-serif;
|
||||
font-size: inherit;
|
||||
|
|
Loading…
Reference in a new issue