Make WordPress Core

Ticket #61633: 61633.diff

File 61633.diff, 632 bytes (added by sabernhardt, 2 months ago)

uses measurement relative to primary menu padding

  • src/wp-content/themes/twentytwentyone/assets/sass/06-components/header.scss

     
    3232
    3333        @include media(mobile) {
    3434                margin-right: initial;
    35                 margin-top: 4px; // Align the baseline of the site title with the primary menu
     35                margin-top: calc(var(--primary-nav--padding) - 0.3em); // Align the baseline of the site title with the primary menu
    3636        }
    3737}
    3838