Skip to content

Commit 59b5e2e

Browse files
committed
center article images
1 parent e1cfd1b commit 59b5e2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/routes/(pages)/blog/posts/layout.svelte

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
background-color: color-mix(in srgb, var(--color-primary) 10%, white);
4545
margin: 0;
4646
}
47+
.article :global(img) {
48+
margin-inline: auto;
49+
}
4750
.byline {
4851
font-style: italic;
4952
font-size: 1rem;

0 commit comments

Comments
 (0)