Skip to content

Commit

Permalink
Fix checkout radio buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHerman committed Jun 12, 2020
1 parent a87d5a1 commit 8281001
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dev/assets/shared/css/style-shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
@import url("woocommerce/button.css");
@import url("woocommerce/cart.css");
@import url("woocommerce/checkbox.css");
@import url("woocommerce/radio.css");
@import url("woocommerce/forms.css");
@import url("woocommerce/product.css");
@import url("woocommerce/pagination.css");
Expand Down
24 changes: 24 additions & 0 deletions .dev/assets/shared/css/woocommerce/radio.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.woocommerce-page {

& .wc_payment_methods {

& input[name="payment_method"] {
display: none;
}

& label {
@mixin checkbox-radio-label;
position: relative;

&:hover {
cursor: pointer;
}

&::before {
@mixin checkbox-radio-label-before;
@mixin radio-label-before;
top: 8px;
}
}
}
}

0 comments on commit 8281001

Please sign in to comment.