From 9753a18ddfa5b33e7f556f6cc5a7f8db57969116 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 2 May 2014 16:56:14 +0000 Subject: [PATCH] Add calc() rules for max-width of playlist caption. Merges [28174] to the 3.9 branch. props celloexpressions. fixes #27923. Built from https://develop.svn.wordpress.org/branches/3.9@28245 git-svn-id: http://core.svn.wordpress.org/branches/3.9@28073 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 5aff5150d2..5c7d730396 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/wp-includes/js/mediaelement/wp-mediaelement.css @@ -114,6 +114,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 {