Skip to content

Commit

Permalink
fix(mediawiki): 馃悰 image clipping in packed gallery
Browse files Browse the repository at this point in the history
Fix: #822
  • Loading branch information
alistair3149 committed Apr 17, 2024
1 parent f84771f commit 44e7af7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions skinStyles/mediawiki/mediawiki.page.gallery.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ div.gallerytext {
letter-spacing: 0.025em;

p {
margin: var( --space-xs ) 0; // reset default style
margin: var( --space-xxs ) 0; // reset default style
}
}

Expand Down Expand Up @@ -61,8 +61,7 @@ ul.gallery.mw-gallery-slideshow {

@media screen {
li.gallerybox div.thumb {
max-width: ~'calc( 100% - var( --space-xs ) )';
margin: var( --space-xs );
margin: var( --space-xxs );
overflow: hidden; // quick hack for rounded corner
background-color: var( --color-surface-2 );
border-color: transparent;
Expand Down

0 comments on commit 44e7af7

Please sign in to comment.