Skip to content

Commit

Permalink
Wrap selected items in experimental select control (woocommerce#38284)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatf authored May 16, 2023
1 parent 8dc16fa commit 5b50bbc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/js/components/changelog/fix-38210
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: fix

Wrap selected items in experimental select control
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
.woocommerce-experimental-select-control__items-wrapper {
display: flex;
flex-grow: 1;
flex-wrap: wrap;
align-items: center;
padding: 2px $gap-smaller;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.woocommerce-experimental-select-control__selected-items.is-read-only {
font-size: 13px;
color: $gray-900;
font-family: var(--wp--preset--font-family--system-font);
.woocommerce-experimental-select-control__selected-items {
flex-wrap: wrap;

&.is-read-only {
font-size: 13px;
color: $gray-900;
font-family: var(--wp--preset--font-family--system-font);
}
}

.woocommerce-experimental-select-control__selected-item {
Expand Down

0 comments on commit 5b50bbc

Please sign in to comment.