Make WordPress Core

Changeset 58929


Ignore:
Timestamp:
08/24/2024 12:03:40 AM (3 weeks ago)
Author:
SergeyBiryukov
Message:

Toolbar: Use CSS variable for the admin bar height in wp-admin/css/common.css.

Follow-up to [16600], [21025], [26072].

Props tdrayson, niravsherasiya7707, mukesh27.
See #61898.

File:
1 edited

Legend:

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

    r58567 r58929  
    20322032
    20332033html.wp-toolbar {
    2034     padding-top: 32px;
     2034    padding-top: var(--wp-admin--admin-bar--height);
    20352035    box-sizing: border-box;
    20362036    -ms-overflow-style: scrollbar; /* See ticket #48545 */
     
    38413841@media screen and (max-width: 782px) {
    38423842    html.wp-toolbar {
    3843         padding-top: 46px;
     3843        padding-top: var(--wp-admin--admin-bar--height);
    38443844    }
    38453845
Note: See TracChangeset for help on using the changeset viewer.