Enhance figure styles in gallery for better alignment and centering

This commit is contained in:
gribse 2025-06-01 11:01:00 +02:00
parent c335b184e2
commit a074498d02

View file

@ -59,6 +59,10 @@ figure styles
figure { figure {
position:relative; /* purely to allow absolution positioning of figcaption */ position:relative; /* purely to allow absolution positioning of figcaption */
overflow: hidden; overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
} }
.gallery figure { .gallery figure {
position: absolute; position: absolute;