[wp-trac] [WordPress Trac] #28675: #wpcontent and #wpfooter admin padding and margins

WordPress Trac noreply at wordpress.org
Sun Jun 29 10:25:18 UTC 2014


#28675: #wpcontent and #wpfooter admin padding and margins
----------------------------+-----------------------------
 Reporter:  TJNowell        |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 The main content and footer wrapper elements in the admin panel have a
 margin on the left to prevent overlapping with the menu of 180px

 This margin includes the padding on the left of the content however. This
 padding should be added as padding.

 Adding this css in the web inspector should demonstrate the issue:


 {{{
 #wpcontent, #wpfooter {
     background: hotpink;
 }
 }}}

 To fix this, this css:

 {{{
 #wpcontent, #wpfooter {
     margin-left: 180px;
 }
 }}}

 needs to become:

 {{{
 #wpcontent, #wpfooter {
     margin-left: 160px;
     padding-left: 20px;
 }
 }}}

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


More information about the wp-trac mailing list