[wp-trac] [WordPress Trac] #39738: Cannot resize image in the post editor, only on twentyseventeen theme, due to a css rule
WordPress Trac
noreply at wordpress.org
Mon Jan 30 12:52:49 UTC 2017
#39738: Cannot resize image in the post editor, only on twentyseventeen theme, due
to a css rule
---------------------------+-----------------------------
Reporter: mihaivalentin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.7.2
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
WordPress 4.7.2, TwentySeventeen theme, wp-admin, Chrome Windows/Linux
latest
* trying to add an image to a post
* try to resize using the resize handles
The image does not resize.
After some investigation, the problem is line 336 of editor-styles.css
from the twentyseventeen theme.
https://github.com/WordPress/WordPress/blob/4.7.2/wp-
content/themes/twentyseventeen/assets/css/editor-style.css#L336
The problem is that the comment states that it is for IE8, but it is also
used in modern browsers. Removing this property works and makes the image
resize possible.
Can you please investigate this?
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39738>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list