Fix horizontal alignment of smaller post images (#759)

Co-authored-by: John O'Nolan <john@ghost.org>
This commit is contained in:
Paul Davis 2021-03-11 18:37:58 +00:00 committed by GitHub
parent 410ec1a9d5
commit 260d5ec4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -817,6 +817,12 @@ make sure this only happens on large viewports / desktop-ish devices.
margin: 6vmin 0 0;
}
.gh-canvas .article-image img {
display: block;
margin-left: auto;
margin-right: auto;
}
@media (max-width: 600px) {
.article-excerpt {
font-size: 1.8rem;