Skip to content

Commit c9fbd7d

Browse files
committed
Adjust block button to latest WP Gut version
1 parent ae494f4 commit c9fbd7d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/scss/components/_buttons.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
// Outline style
4949
@mixin button--outline($borderColor: $maingrey, $color: $textcolor) {
5050
background-color: transparent;
51+
border-width: 1px; // Force button width VS Gutenberg CSS
5152
border-color: $borderColor;
5253
color: $color;
5354

src/scss/wp/_gutenberg.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313

1414
// Block Button
1515
&-button {
16+
margin-bottom: $base-spacing;
17+
1618
&__link {
1719
@extend .button;
18-
@extend .button--round;
1920

2021
&:not([class*="has"]) {
2122
@extend .button--primary;

0 commit comments

Comments
 (0)