From 4c48ecf26df0e3c7a29d43a8de1e8458c006d264 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 19 Aug 2014 22:42:26 +0000 Subject: [PATCH] TinyMCE wpView: scale iframes to 100% width and ensure they have transparent background. See #29048. git-svn-id: https://develop.svn.wordpress.org/trunk@29545 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/tinymce/skins/wordpress/wp-content.css | 5 +++++ 1 file changed, 5 insertions(+) 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 96fed744df..9cd5c944b8 100644 --- a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/src/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;