Skip to content

Commit

Permalink
Media: Port date filter width fix from Gutenberg.
Browse files Browse the repository at this point in the history
Ensures the entire date selection dropdown shows in the media modal.

Previously this was worked around in WordPress/gutenberg@8deaf5e in Gutenberg. This moves the rule to core, allowing the workaround to be removed in Gutenberg.

Props ianbelanger.
Fixes #44760.
See WordPress/gutenberg#2202
Built from https://develop.svn.wordpress.org/trunk@44653


git-svn-id: http://core.svn.wordpress.org/trunk@44484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
mikeschroder committed Jan 19, 2019
1 parent ba24c21 commit 837dd16
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions wp-includes/css/media-views-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,8 @@

.media-frame select.attachment-filters:last-of-type {
margin-left: 0;
width: auto;
max-width: 100%;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/media-views-rtl.min.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions wp-includes/css/media-views.css
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,8 @@

.media-frame select.attachment-filters:last-of-type {
margin-right: 0;
width: auto;
max-width: 100%;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/media-views.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44652';
$wp_version = '5.1-beta1-44653';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 837dd16

Please sign in to comment.