1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Stop using the "contain" CSS property

More trouble than it's worth.
This commit is contained in:
Rohan Kumar 2022-05-15 17:39:22 -07:00
parent 497d5da5a3
commit 7d601a711f
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -211,12 +211,6 @@ section[itemprop="mentions"] > figure {
margin: 0;
}
section[itemtype="https://schema.org/ImageObject"] figcaption,
figure[itemtype="https://schema.org/ImageObject"] figcaption,
div[itemprop="articleBody"] > figure:not([itemtype="https://schema.org/ImageObject"]) {
contain: content;
}
/* browsers make monospace small and unreadable for some dumb legacy
* reason and this somehow fixes that without overriding the user's
* font size preferences. */