From 3a903b40af596006af002f0f0b0b5059bf5bb503 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 20 Apr 2014 04:27:14 +0000 Subject: [PATCH] Support RTL properly when displaying playlists. Props SergeyBiryukov. See #27924. Built from https://develop.svn.wordpress.org/trunk@28173 git-svn-id: http://core.svn.wordpress.org/trunk@28004 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/mediaelement/wp-mediaelement.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wp-includes/js/mediaelement/wp-mediaelement.css b/wp-includes/js/mediaelement/wp-mediaelement.css index 1c95fa3b8d..420785aae7 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/wp-includes/js/mediaelement/wp-mediaelement.css @@ -143,6 +143,11 @@ line-height: 1.5; } +.rtl .wp-playlist-item-length { + left: 3px; + right: auto; +} + .wp-playlist-tracks { margin-top: 10px; } @@ -196,6 +201,12 @@ border: 0; } +.rtl .wp-playlist .wp-playlist-current-item img { + float: right; + margin-left: 10px; + margin-right: 0; +} + .wp-playlist-current-item .wp-playlist-item-title, .wp-playlist-current-item .wp-playlist-item-artist { overflow: hidden;