From a433b979684ae201f49ef1810f02d773ac157c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 21 Feb 2019 08:30:53 -0500 Subject: [PATCH] Center-align standalone image paragraphs --- agaric/sass/agaric/_layout.flow.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/agaric/sass/agaric/_layout.flow.scss b/agaric/sass/agaric/_layout.flow.scss index e5b161e..7140091 100644 --- a/agaric/sass/agaric/_layout.flow.scss +++ b/agaric/sass/agaric/_layout.flow.scss @@ -103,6 +103,13 @@ } } +// Center-align standalone image paragraphs. +.flow_middle > img { + display: block; + margin-left: auto; + margin-right: auto; +} + // Adding this so the comment box at the bottom isn't unnaturally small. // This perhaps should be more precisely targeted, or more generally.