From 3b9841351ae8f15c575ed5479366de30ef44f421 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 12 Oct 2016 03:35:46 +0000 Subject: [PATCH] TinyMCE: prevent iOS Safari from expanding the iframe width beyond the container width. Fixes #38289. git-svn-id: https://develop.svn.wordpress.org/trunk@38782 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 02adfe7e44..2895fd9bdd 100644 --- a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -4,6 +4,11 @@ html { cursor: text; } +html.ios { + width: 100px; + min-width: 100%; +} + body { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-size: 16px;