Structure: Limit <img> elements to 100% of their container

Set max-width to 100%.
This commit is contained in:
Eryn Wells 2024-07-03 07:43:34 -07:00
parent b4148c3584
commit c878427e2e

View file

@ -31,6 +31,7 @@ figure, img {
} }
img { img {
max-width: 100%;
object-fit: contain; object-fit: contain;
} }