Styling: fix aspect-ratio for images in figures
This commit is contained in:
parent
87ca6671e0
commit
a8d50af507
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user