[wp-trac] [WordPress Trac] #20641: DFW editor: horizontal scrollbar appears when content width is too small
WordPress Trac
wp-trac at lists.automattic.com
Sat May 26 02:31:57 UTC 2012
#20641: DFW editor: horizontal scrollbar appears when content width is too small
--------------------------+------------------------------
Reporter: hd-J | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by hd-J):
* keywords: reporter-feedback => has-patch
Comment:
My test were done with [http://wordpress.org/extend/themes/tarski Tarski],
that doesn't include any editor-style.css) on a clean install without any
plugins.
I did some further testing, and It turns out 'this problem only happens
when you insert an image larger than the content width'.
In Twenty Eleven, the problem is fixed with a bit of CSS in editor-
style.css:
{{{
img[class*="wp-image-"] {
height: auto;
max-width: 97.5%;
}
}}}
But in themes that don't include such fixes, it adds an horizontal
scrollbar to DFW.
Would it be reasonable to prevent the problem from happening in core,
rather than fixing it theme by theme, in editor-style.css? I am not 100%
sure in which css file it should go though...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20641#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list