Make WordPress Core

Changeset 47293


Ignore:
Timestamp:
02/15/2020 05:06:39 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Themes: Correct the height of theme actions button container on various screen sizes.

Props aftabmuni, alexischenal, ideaboxcreations, audrasjb, SergeyBiryukov.
Fixes #49302.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r47208 r47293  
    16321632.theme-browser .theme.active .theme-actions,
    16331633.wp-customizer .theme-browser .theme .theme-actions {
    1634         padding: 10px 15px;
     1634        padding: 9px 15px;
    16351635        box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
    16361636}
     
    29382938                margin: 0;
    29392939        }
    2940 
    2941         .theme-browser .theme.active .theme-actions,
    2942         .wp-customizer .theme-browser .theme .theme-actions {
    2943                 padding: 9px 15px;
    2944                 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
    2945         }
    29462940}
    29472941
    29482942@media screen and (max-width: 600px) {
    2949         .theme-browser .theme.active .theme-actions,
    2950         .wp-customizer .theme-browser .theme .theme-actions {
    2951                 padding: 8px 15px;
    2952                 box-shadow: none;
    2953         }
    2954 
    29552943        .wp-full-overlay.expanded {
    29562944                margin-left: 0;
  • trunk/src/wp-admin/css/themes.css

    r47271 r47293  
    230230        transform: translateY(-50%);
    231231        right: 0;
    232         padding: 10px 15px;
     232        padding: 9px 15px;
    233233        box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
    234234}
     
    19111911        .theme-browser .theme.active .theme-actions,
    19121912        .theme-browser .theme .theme-actions {
    1913                 padding-top: 8px;
    1914                 padding-bottom: 8px;
     1913                padding-top: 4px;
     1914                padding-bottom: 4px;
    19151915        }
    19161916}
Note: See TracChangeset for help on using the changeset viewer.