Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Ensure Checkout block supports the theme-level global styles for Typo…
Browse files Browse the repository at this point in the history
…graphy » Buttons (#8892)
  • Loading branch information
nielslange authored Apr 4, 2023
1 parent df7db1d commit 37dc54e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions assets/js/base/components/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
@include reset-typography();
font-weight: bold;
line-height: 1;
padding: 0 em($gap);
text-decoration: none;
text-transform: none;

&:focus {
box-shadow: 0 0 0 2px $studio-blue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
height: auto;

.wc-block-components-button__text {
line-height: 24px;

> svg {
fill: $white;
vertical-align: top;
Expand Down

0 comments on commit 37dc54e

Please sign in to comment.