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

Remove min-height and padding for WP Button elements #9260

Merged
merged 4 commits into from
Apr 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions assets/js/base/components/button/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.wc-block-components-button:not(.is-link) {
align-items: center;
display: inline-flex;
min-height: 3em;
tjcafferkey marked this conversation as resolved.
Show resolved Hide resolved
height: auto;
justify-content: center;
text-align: center;
Expand Down Expand Up @@ -58,7 +57,7 @@
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
padding: 0 em($gap);
min-height: 3em;

&:focus {
box-shadow: 0 0 0 2px $studio-blue;
Expand Down