Make WordPress Core

Changeset 38132


Ignore:
Timestamp:
07/21/2016 09:53:09 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Editor: Improve styling of "Add Media" button on mobile and make it more consistent with media buttons added by plugins.

Props FolioVision.
Fixes #36999.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r37740 r38132  
    15121512
    15131513    #wp-content-media-buttons a {
    1514         font-size: 16px;
    1515         line-height: 37px;
    1516         height: 39px;
    1517         padding: 0 20px 0 15px;
     1514        font-size: 14px;
     1515        padding: 6px 10px;
    15181516    }
    15191517
     
    15211519    .wp-media-buttons span.jetpack-contact-form-icon {
    15221520        width: 22px !important;
    1523         margin-top: -3px !important;
    1524         margin-left: -5px !important;
     1521        margin-left: -2px !important;
    15251522    }
    15261523
     
    15731570    }
    15741571}
    1575 
    1576 @media only screen and (max-width: 500px) {
    1577     /* Align Add Media + Visual + Text tabs */
    1578     #wp-content-media-buttons a {
    1579         font-size: 14px;
    1580         padding: 0 10px 0 10px;
    1581     }
    1582 }
Note: See TracChangeset for help on using the changeset viewer.