Enhance figure styles in gallery for better alignment and centering
This commit is contained in:
parent
c335b184e2
commit
a074498d02
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue