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; margin: 6vmin 0 0;
} }
.gh-canvas .article-image img {
display: block;
margin-left: auto;
margin-right: auto;
}
@media (max-width: 600px) { @media (max-width: 600px) {
.article-excerpt { .article-excerpt {
font-size: 1.8rem; font-size: 1.8rem;