From c5c18d384866b8e8496d5e9ae2dd79e78455912b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 20 Apr 2014 05:10:15 +0000 Subject: [PATCH] Add `calc()` rules for `max-width` of playlist caption. Props celloexpressions. See #27923. Built from https://develop.svn.wordpress.org/trunk@28174 git-svn-id: http://core.svn.wordpress.org/trunk@28005 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/mediaelement/wp-mediaelement.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/js/mediaelement/wp-mediaelement.css b/wp-includes/js/mediaelement/wp-mediaelement.css index 420785aae7..82548b2de1 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/wp-includes/js/mediaelement/wp-mediaelement.css @@ -110,6 +110,8 @@ .wp-playlist-item .wp-playlist-caption { text-decoration: none; color: #000; + max-width: -webkit-calc(100% - 40px); + max-width: calc(100% - 40px); } .wp-playlist-item-meta {