From 544e7a30bce4d6beb617147c31c63b8c73cd9580 Mon Sep 17 00:00:00 2001 From: Mike Schroder Date: Sat, 19 Jan 2019 01:19:18 +0000 Subject: [PATCH] Media: Port date filter width fix from Gutenberg. Ensures the entire date selection dropdown shows in the media modal. Previously this was worked around in https://github.com/WordPress/gutenberg/commit/8deaf5eca672848224e286e0ab03dde40fd5219d in Gutenberg. This moves the rule to core, allowing the workaround to be removed in Gutenberg. Props ianbelanger. Fixes #44760. See https://github.com/WordPress/gutenberg/issues/2202 git-svn-id: https://develop.svn.wordpress.org/trunk@44653 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/media-views.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css index d72c32dd79..cfb47567a9 100644 --- a/src/wp-includes/css/media-views.css +++ b/src/wp-includes/css/media-views.css @@ -787,6 +787,8 @@ .media-frame select.attachment-filters:last-of-type { margin-right: 0; + width: auto; + max-width: 100%; } /**