[wp-trac] [WordPress Trac] #29986: Twenty Fifteen: Body margin in Visual Editor

WordPress Trac noreply at wordpress.org
Wed Oct 15 18:53:53 UTC 2014


#29986: Twenty Fifteen: Body margin in Visual Editor
---------------------------+-----------------------------
 Reporter:  Jayjdk         |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 The body margin in Twenty Fifteen is `83px 0 83px 83px;`. While it matches
 the .entry-content margin on the front-end, it looks very weird on smaller
 screens. There's a huge white space on the left and top but none to the
 right. On bigger screens it looks okay (but in my opinion perhaps still
 too much)

 * Small screen: http://i.imgur.com/xI0Tt2V.png
 * Big screen: http://i.imgur.com/jBI9GTi.png

 I've attached a patch that uses `40px` all around by default and uses
 media queries to use `83px` when the screen is larger than `743px` (660 +
 83).

 * Small screen - After patch: http://i.imgur.com/coPAt34.png

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29986>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list