summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-10-08 11:41:49 +0200
committerJonas Smedegaard <dr@jones.dk>2023-10-08 11:41:49 +0200
commit944a347818300ab41f7d8716a3c91df05d85f859 (patch)
tree1fa6e244e3ea93e22106854b36d96c3e62f6ac17
parent76b465028922238b89b1eeeead3a3b070d5cdad8 (diff)
avoid double bottom margin for images with caption
-rw-r--r--style.scss5
1 files changed, 4 insertions, 1 deletions
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;