From 342a8ce6a61b7ab5ef0a705c1bcde9a849e5d7ed Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 19 Aug 2014 22:43:16 +0000 Subject: [PATCH] TinyMCE wpView: scale iframes to 100% width and ensure they have transparent background. See #29048. Built from https://develop.svn.wordpress.org/trunk@29545 git-svn-id: http://core.svn.wordpress.org/trunk@29321 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/skins/wordpress/wp-content.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-includes/js/tinymce/skins/wordpress/wp-content.css b/wp-includes/js/tinymce/skins/wordpress/wp-content.css index 96fed744df..9cd5c944b8 100644 --- a/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -366,6 +366,11 @@ audio { } } +.wpview-wrap .wpview-content > iframe { + max-width: 100%; + background: transparent; +} + #wp-image-toolbar { position: absolute; margin: 0;