Skip to content

Commit 1611460

Browse files
committed
Center images in posts
1 parent 1ec0bef commit 1611460

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/styles/app.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ h3, .post h2, header h2 {
251251
font-size: 2em;
252252
}
253253

254+
.post img {
255+
display: block;
256+
margin-left: auto;
257+
margin-right: auto;
258+
}
259+
254260
header h1 {
255261
letter-spacing: 1px;
256262
}

0 commit comments

Comments
 (0)