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

Ensure Checkout block supports the theme-level global styles for Typography » Buttons #8892

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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