Skip to content

Commit

Permalink
feat(gallery): ✨ use flexbox for packed gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Feb 26, 2024
1 parent c9f6ec6 commit 2972726
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions skinStyles/mediawiki/mediawiki.page.gallery.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapp
background: var( --background-color-overlay );
}

.mw-gallery-packed-hover,
.mw-gallery-packed-overlay {
display: flex;
flex-wrap: wrap;
gap: var( --space-md );
}

/* Slideshow */
ul.gallery.mw-gallery-slideshow {
.gallerybox {
Expand Down

0 comments on commit 2972726

Please sign in to comment.