From 1959b1379b6f1d2afc5e6039f884f43b2c4c9555 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Thu, 27 Mar 2014 20:09:38 +0000 Subject: [PATCH] Affix the audio view toolbar to the bottom as opposed to the top of the view. Otherwise it's not accessible when the view is the first item in the content. Said views keep a newline underneath, so there's space for it to appear there instead. fixes #27548, see #27320. git-svn-id: https://develop.svn.wordpress.org/trunk@27792 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/tinymce/skins/wordpress/wp-content.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css index 6b6d4c5c12..6151554e5c 100644 --- a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -271,7 +271,12 @@ audio { /* Audio player is short; therefore let's put the toolbar above */ .wpview-type-audio .toolbar { - top: -41px; + top: auto; + bottom: -34px; +} + +.wpview-type-audio .toolbar div { + margin-top: 0; } .wpview-type-audio .toolbar div:first-child {