From 944a347818300ab41f7d8716a3c91df05d85f859 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 8 Oct 2023 11:41:49 +0200 Subject: avoid double bottom margin for images with caption --- style.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'style.scss') diff --git a/style.scss b/style.scss index 22bae76..701caf9 100644 --- a/style.scss +++ b/style.scss @@ -286,7 +286,7 @@ img, table.img { float: left; vertical-align: top; - margin: 0 2em 1em 0; + margin-right: 2em; padding: 0; max-width: 100%; height: auto; @@ -297,6 +297,9 @@ table.img td { table.img img { margin-right: 0; } +img { + margin-bottom: 1em; +} //Styling of tall images img.tall { width: 300px; -- cgit v1.2.3