Rather than adding border, add color to border of search box (#40242)

This commit is contained in:
Dan Q 2023-09-25 10:35:38 +01:00 committed by GitHub
commit 8685fd211e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,7 @@
.woocommerce-marketplace__search {
grid-area: mktpl-search;
background: $gutenberg-gray-100;
border: 1.5px solid transparent;
border-radius: 2px;
display: flex;
height: 40px;
@ -15,7 +16,7 @@
&:focus-within {
background: #fff;
border: 1.5px solid var(--wp-admin-theme-color, #3858e9);
border-color: var(--wp-admin-theme-color, #3858e9);
}
@media (width <= $breakpoint-medium) {

View File

@ -0,0 +1,6 @@
Significance: patch
Type: fix
Comment: Prevented a 1.5px cosmetic shift of contents in the Extension Search box when focussing/unfocussing.