Making WordPress.org


Ignore:
Timestamp:
05/26/2016 08:44:49 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Responsive styles hardening.

  • Switches to using em in media queries for browser compatibility.
  • Adds padding .site-main to line up with global header.
  • Simplifies some margin/padding setups on small screens.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/navigation/_menus.scss

    r3257 r3261  
    112112}
    113113
    114 @media screen and (min-width: 37.5em) {
     114@media screen and ( min-width: $ms-breakpoint ) {
    115115    .menu-toggle {
    116116        display: none;
     
    129129                border: 0;
    130130                display: inline-block;
    131                 margin-right: 31.5px;
    132                 margin-right: 1.5rem;
     131                margin-right: 16px;
     132                margin-right: 1rem;
    133133                padding: 0;
    134134
Note: See TracChangeset for help on using the changeset viewer.