Make WordPress Core


Ignore:
Timestamp:
02/09/2021 03:53:14 AM (3 years ago)
Author:
peterwilsoncc
Message:

Twenty Twenty-One: Update editor styles of search block.

Update editor styles to more closely match the front-end following upstream changes.

Props poena, paaljoachim, hellofromTonya.
Fixes #52433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/search/_editor.scss

    r49987 r50262  
    2828    }
    2929
    30     .wp-block-search__button {
     30    .wp-block-search__button.wp-block-search__button {
    3131        @include button-style();
    3232        box-shadow: none;
     
    3434
    3535        &.has-icon {
    36             padding: calc(2 * var(--button--padding-vertical)) calc(0.5 * var(--button--padding-horizontal));
     36            padding: 6px calc(0.5 * var(--button--padding-horizontal));
    3737            display: inherit;
    3838
Note: See TracChangeset for help on using the changeset viewer.