From 23293feea50e013b6d79ef1de5433aad5006cbff Mon Sep 17 00:00:00 2001 From: gribse Date: Fri, 16 May 2025 18:03:34 +0200 Subject: [PATCH] fix: adjust figcaption styles to remove unwanted bottom margin --- static/css/hugo-easy-gallery.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/css/hugo-easy-gallery.css b/static/css/hugo-easy-gallery.css index 5d628ae..0931b64 100644 --- a/static/css/hugo-easy-gallery.css +++ b/static/css/hugo-easy-gallery.css @@ -153,8 +153,10 @@ figcaption styles .fancy-figure.caption-effect-slide.caption-position-center figure:not(:hover) figcaption { top: 100%; } -figcaption p { - margin: auto; /* override style in theme */ - font-size: 1em; +.post-content figure figcaption p, +.post-content .gallery figcaption p, +.post-content .fancy-figure figcaption p { + margin: 0px 0px 0px 0px; /* override style in theme */ + font-size: 0.8em; }