diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 64287a939f..731f487dba 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -165,20 +165,18 @@ } // "Naked" inputs. Row hover helps reveal them. - tbody input:not([type="checkbox"]) { - background-color: $color-tbl-cell-bg; - height: auto; - font-size: inherit; - font-weight: inherit; - - &:not(:focus):not(.changed):not([disabled]) { - border-color: transparent; + tbody { + input:not([type="checkbox"]) { + background-color: $color-tbl-cell-bg; + height: auto; + font-size: inherit; + font-weight: inherit; } - } - .field_with_errors { - input { - border-color: $color-error; + :not(.field_with_errors) > { + input:not([type="checkbox"]):not(:focus):not(.changed):not([disabled]) { + border-color: transparent; + } } } }