From 260d5ec4e6eaa1b998263738ea6d553b570b8bdf Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 11 Mar 2021 18:37:58 +0000 Subject: [PATCH] Fix horizontal alignment of smaller post images (#759) Co-authored-by: John O'Nolan --- assets/css/screen.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/screen.css b/assets/css/screen.css index c75b8b8..3ef35dc 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -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;