Skip to content

Commit

Permalink
fix: improve new search setting appearance for WP 6.3 (#2167)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored Jul 27, 2023
1 parent 22732f5 commit a87f7e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions newspack-theme/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,13 @@ hr {
}
}
}

&__button-behavior-expand:not(.wp-block-search__searchfield-hidden) {
.wp-block-search__button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
}

//! Code
Expand Down
7 changes: 7 additions & 0 deletions newspack-theme/sass/style-editor-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,13 @@ div[data-align='full'] {
}
}
}

&__button-behavior-expand:not(.wp-block-search__searchfield-hidden) {
.wp-block-search__button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
}

/** === Code === */
Expand Down

0 comments on commit a87f7e5

Please sign in to comment.