diff --git a/static/css/hugo-easy-gallery.css b/static/css/hugo-easy-gallery.css index 0931b64..54338df 100644 --- a/static/css/hugo-easy-gallery.css +++ b/static/css/hugo-easy-gallery.css @@ -59,6 +59,10 @@ figure styles figure { position:relative; /* purely to allow absolution positioning of figcaption */ overflow: hidden; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; } .gallery figure { position: absolute;