[wp-trac] [WordPress Trac] #46941: Need to add 5px space in selected admin widget items

WordPress Trac noreply at wordpress.org
Wed Apr 17 16:37:47 UTC 2019

#46941: Need to add 5px space in selected admin widget items
 Reporter:  ketanumretiya030                     |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Widgets                              |     Version:  3.8.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:  ui,
  refresh                                        |  administration
Changes (by afercia):

 * keywords:  has-patch has-screenshots needs-design-feedback => has-patch
     has-screenshots needs-refresh


 See also #42001.

 Some widgets have an "extra wide" interface which is discussed in #42001.
 For now, the left and right margins shouldn't be changed.

 However, the top and bottom margin shouldn't be reset to `0`. It's not
 about design, it's a functional thing: when dragging a widget, the other
 widgets "jump" because the dashed "placeholder" has some margin:


 This "jump" should be avoided. @mukesh27 approach looks good but instead
 of removing the margin property entirely I'd suggest to keep `margin-left`
 and `margin-right` to `auto !important`.

Ticket URL: <https://core.trac.wordpress.org/ticket/46941#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list