From ee678ee1f5b8d81f6c64e4bce56550ca3610fb93 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 16 Oct 2017 23:01:55 +0000 Subject: [PATCH] Widgets: Prevent MediaElement.js player from overflowing sidebar in Audio widget. Props bradyvercher. See #39686. Fixes #42244. git-svn-id: https://develop.svn.wordpress.org/trunk@41886 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/mediaelement/wp-mediaelement.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-includes/js/mediaelement/wp-mediaelement.css b/src/wp-includes/js/mediaelement/wp-mediaelement.css index 707b48683c..c8a08194e1 100644 --- a/src/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/src/wp-includes/js/mediaelement/wp-mediaelement.css @@ -1,5 +1,6 @@ .mejs-container { clear: both; + max-width: 100%; } .mejs-container * { @@ -13,6 +14,11 @@ background: #222; } +.mejs-time { + font-weight: normal; + word-wrap: normal; +} + .mejs-controls a.mejs-horizontal-volume-slider { display: table; }