From 29727263c83fa58b4093d5613e8966e7bad41d96 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Mon, 26 Feb 2024 18:05:45 -0500 Subject: [PATCH] =?UTF-8?q?feat(gallery):=20=E2=9C=A8=20use=20flexbox=20fo?= =?UTF-8?q?r=20packed=20gallery?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skinStyles/mediawiki/mediawiki.page.gallery.styles.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/skinStyles/mediawiki/mediawiki.page.gallery.styles.less b/skinStyles/mediawiki/mediawiki.page.gallery.styles.less index 6e0aa169d..d66fdff6b 100644 --- a/skinStyles/mediawiki/mediawiki.page.gallery.styles.less +++ b/skinStyles/mediawiki/mediawiki.page.gallery.styles.less @@ -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 {