[wp-trac] [WordPress Trac] #33220: Customizer: layout issues with autofocus'd sections on small screens

WordPress Trac noreply at wordpress.org
Fri Aug 7 15:32:14 UTC 2015


#33220: Customizer: layout issues with autofocus'd sections on small screens
--------------------------+---------------------------
 Reporter:  mattwiebe     |       Owner:  valendesigns
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.3
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui
--------------------------+---------------------------

Comment (by mattwiebe):

 33220.6 produced erratic results on resize, with the section often being
 pushed way down. This happens because `margin-top` should not be in the
 `sizing()` function, it only gets good results the first time. Moving the
 setting of`margin-top` into `expand()` so it only happens once produces
 good results.

 33220.7.diff attached to do that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33220#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list