[wp-trac] [WordPress Trac] #21536: Better editor background
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 10 08:02:23 UTC 2012
#21536: Better editor background
-------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Changes (by toscho):
* cc: info@… (added)
Comment:
What I do in my editor stylesheets to stretch the body:
{{{
html
{
background: #bbb;
height: 100%;
}
body
{
max-width: 620px;
background: #eee;
margin: 0 auto;
padding: 20px;
min-height: 100%;
box-sizing: border-box;
}
}}}
Note the `box-sizing` – it prevents unnecessary scroll bars.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21536#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list