Styling: fix aspect-ratio for images in figures

This commit is contained in:
Lewis Dale 2023-03-18 15:48:24 +00:00
parent 87ca6671e0
commit a8d50af507

View File

@ -4,6 +4,12 @@ article {
margin-inline-end: auto; margin-inline-end: auto;
} }
figure img {
aspect-ratio: 4/3;
object-fit: cover;
object-position: center;
}
ul, ol { ul, ol {
list-style: initial; list-style: initial;
padding: 0 var(--space-size-m); padding: 0 var(--space-size-m);