Skip to content

Commit

Permalink
Align all checkboxes on product page
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatf committed Oct 19, 2022
1 parent ad7e1b1 commit 38f80d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
15 changes: 13 additions & 2 deletions plugins/woocommerce-admin/client/products/product-page.scss
Expand Up @@ -17,8 +17,19 @@
margin-right: $gap-smaller;
}
}
.components-checkbox-control__label {
align-items: center;
.components-checkbox-control {
&__label {
display: flex;
align-items: center;
}

&__input-container {
align-self: center;
}

.components-base-control__field {
display: flex;
}
}
.woocommerce-tooltip {
margin-left: $gap-smaller;
Expand Down
Expand Up @@ -12,19 +12,4 @@
margin-left: $gap-smaller;
}
}

&__feature-checkbox {
.components-base-control__field {
display: flex;
.components-checkbox-control {
&__label {
display: flex;
}

&__input-container {
align-self: center;
}
}
}
}
}

0 comments on commit 38f80d8

Please sign in to comment.