Gallery Widget: Fix row spacing across major browsers.

Props petertoi .
Fixes #42188.

Built from https://develop.svn.wordpress.org/trunk@41834


git-svn-id: http://core.svn.wordpress.org/trunk@41668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mel Choyce 2017-10-11 21:14:51 +00:00
parent 71aa62101f
commit 009c3a94bb
5 changed files with 11 additions and 5 deletions

View File

@ -186,10 +186,13 @@
box-sizing: border-box; box-sizing: border-box;
width: 50%; width: 50%;
margin: 0; margin: 0;
padding: 1.79104477%;
background: transparent; 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 * Use targeted nth-last-child selectors to control the size of each image
* based on how many gallery items are present in the grid. * based on how many gallery items are present in the grid.

File diff suppressed because one or more lines are too long

View File

@ -186,10 +186,13 @@
box-sizing: border-box; box-sizing: border-box;
width: 50%; width: 50%;
margin: 0; margin: 0;
padding: 1.79104477%;
background: transparent; 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 * Use targeted nth-last-child selectors to control the size of each image
* based on how many gallery items are present in the grid. * based on how many gallery items are present in the grid.

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-beta1-41833'; $wp_version = '4.9-beta1-41834';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.