Gallery Widget: Fix row spacing across major browsers.

Props petertoi .
Fixes #42188.


git-svn-id: https://develop.svn.wordpress.org/trunk@41834 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mel Choyce 2017-10-11 21:13:33 +00:00
parent f6d84dbe31
commit 9f7e06e855

View File

@ -186,10 +186,13 @@
box-sizing: border-box;
width: 50%;
margin: 0;
padding: 1.79104477%;
background: transparent;
}
.media-widget-gallery-preview .gallery-item .gallery-icon {
margin: 4.5%;
}
/*
* Use targeted nth-last-child selectors to control the size of each image
* based on how many gallery items are present in the grid.