[wp-trac] [WordPress Trac] #40272: Customize: Account for media queries in l10n.css

WordPress Trac noreply at wordpress.org
Mon Mar 27 07:48:05 UTC 2017


#40272: Customize: Account for media queries in l10n.css
--------------------------+----------------------------
 Reporter:  swissspidy    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Customize     |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  ui            |
--------------------------+----------------------------
 Noticed while working on #40271 / #40152.

 `wp-admin/css/l10n.css` contains some locale-specific CSS adjustments,
 some of them for the customizer. For example:

 {{{
 .locale-de-de #customize-header-actions .button {
         padding: 0 5px 1px; /* default 0 10px 1px */
 }
 }}}

 Now, that default is correct — as long as you are not using the Customizer
 on a smaller device. There, the default padding is `6px 14px`, not `0 10px
 1px`.

 On an iPhone 6, that de_DE specific CSS looks like this:

 [[Image(https://cldup.com/8Zl2SQwmIT.png)]]

 As you can see, there's a clear lack of top and bottom padding.

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


More information about the wp-trac mailing list