WordPress.org

Make WordPress Core

Ticket #17393: twentyeleven_editor_patch.diff

File twentyeleven_editor_patch.diff, 607 bytes (added by bi0xid, 3 years ago)

Twenty Eleven editor patch (max-width)

Line 
1Index: wp-content/themes/twentyeleven/editor-style.css
2===================================================================
3--- a/wp-content/themes/twentyeleven/editor-style.css
4+++ b/wp-content/themes/twentyeleven/editor-style.css
5@@ -4,3 +4,8 @@
6*/
7+
8+ html .mceContentBody {
9+       max-width: 584px;
10+ }
11+
12
13* {
14Index: wp-content/themes/twentyeleven/editor-style-rtl.css
15===================================================================
16--- a/wp-content/themes/twentyeleven/editor-style-rtl.css
17+++ b/wp-content/themes/twentyeleven/editor-style-rtl.css
18@@ -10,2 +10,3 @@
19        float:right;
20+       max-width: 584px;
21}