diff --git a/packages/js/product-editor/changelog/update-product-editor-tweak-attributes-layout b/packages/js/product-editor/changelog/update-product-editor-tweak-attributes-layout new file mode 100644 index 00000000000..976c90a6289 --- /dev/null +++ b/packages/js/product-editor/changelog/update-product-editor-tweak-attributes-layout @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Product Block Editor: tweak styles/layout of attribute modal implementation diff --git a/packages/js/product-editor/src/components/attribute-combobox-field/styles.scss b/packages/js/product-editor/src/components/attribute-combobox-field/styles.scss index 67b4ddc3aa4..4e2519e30d3 100644 --- a/packages/js/product-editor/src/components/attribute-combobox-field/styles.scss +++ b/packages/js/product-editor/src/components/attribute-combobox-field/styles.scss @@ -52,7 +52,7 @@ .components-spinner { margin: 0 4px 0 0; padding: 2px; - width: 20px; - height: 20px; + width: 18px; + height: 18px; } } diff --git a/packages/js/product-editor/src/components/attribute-control/new-attribute-modal.scss b/packages/js/product-editor/src/components/attribute-control/new-attribute-modal.scss index fed3122e5f0..172eaa3faa5 100644 --- a/packages/js/product-editor/src/components/attribute-control/new-attribute-modal.scss +++ b/packages/js/product-editor/src/components/attribute-control/new-attribute-modal.scss @@ -26,6 +26,10 @@ &__body { min-height: 200px; flex: 1 1 auto; + + .woocommerce-new-attribute-modal__table-row { + min-height: 80px; + } } &__table { @@ -65,7 +69,7 @@ .components-form-token-field__help { position: absolute; - top: 32px; + top: 36px; z-index: 0; } @@ -90,6 +94,11 @@ &:not(.is-disabled) { background-color: white; } + + &:focus-within { + outline: none; + box-shadow: none; + } } .components-form-token-field__input {