Skip to content

Commit

Permalink
Product Block Editor: tweak styles/layout of attribute modal implemen…
Browse files Browse the repository at this point in the history
…tation (#47374)

* align terms dropdown help box

* reduce spinner size

* set a min height for each table row

* tweak terms style component when disabled

* changelog
  • Loading branch information
retrofox committed May 13, 2024
1 parent 00c6293 commit 7c1da81
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: update

Product Block Editor: tweak styles/layout of attribute modal implementation
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
.components-spinner {
margin: 0 4px 0 0;
padding: 2px;
width: 20px;
height: 20px;
width: 18px;
height: 18px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
&__body {
min-height: 200px;
flex: 1 1 auto;

.woocommerce-new-attribute-modal__table-row {
min-height: 80px;
}
}

&__table {
Expand Down Expand Up @@ -65,7 +69,7 @@

.components-form-token-field__help {
position: absolute;
top: 32px;
top: 36px;
z-index: 0;
}

Expand All @@ -90,6 +94,11 @@
&:not(.is-disabled) {
background-color: white;
}

&:focus-within {
outline: none;
box-shadow: none;
}
}

.components-form-token-field__input {
Expand Down

0 comments on commit 7c1da81

Please sign in to comment.