From 37e553ec7955d06990a02ef392704037aabd6568 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 21 Oct 2014 23:05:33 +0000 Subject: [PATCH] TinyMCE: update the default styles: make the font size larger and make it the same size in tables. Fixes #30038 git-svn-id: https://develop.svn.wordpress.org/trunk@29986 602fd350-edb4-49c9-b593-d223f7449a82 --- .../js/tinymce/skins/wordpress/wp-content.css | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 d3e17d4dcb..a2f49c797c 100644 --- a/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -11,10 +11,11 @@ html.ios { body { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - font-size: 13px; - line-height: 19px; + font-size: 100%; + line-height: 1.5; color: #333; margin: 9px 10px; + max-width: 100%; } body.rtl { @@ -26,7 +27,6 @@ body.locale-he-il { } body.wp-autoresize { - max-width: 100%; overflow: visible !important; /* The padding ensures margins of the children are contained in the body. */ padding-top: 1px !important; @@ -42,6 +42,16 @@ body.webkit b { font-weight: bold !important; } +pre { + font-family: Consolas, Monaco, monospace; +} + +td, +th { + font-family: inherit; + font-size: inherit; +} + /* DFW mode */ html.wp-fullscreen, html.wp-fullscreen body#tinymce { @@ -110,16 +120,6 @@ dl.wp-caption * { margin: 0; } -pre { - font: 12px/18px Consolas, Monaco, monospace; -} - -td { - color: #000; - font-size: 11px; - margin: 8px; -} - /* Remove blue highlighting of selected images in WebKit */ img::selection { background-color: transparent;