Skip to content

Commit

Permalink
fix(button-block): add border-style (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasguillot authored Jun 21, 2024
1 parent 81eb790 commit 7bec2be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scss/blocks/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
}

&.is-style-outline {
> .wp-block-button__link {
> .wp-block-button__link,
form .wp-block-button__link {
&:hover {
background: var( --wp--preset--color--base-2 );
color: var( --wp--preset--color--contrast );
Expand Down
1 change: 1 addition & 0 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
"variations": {
"outline": {
"border": {
"style": "solid",
"width": "1px"
},
"color": {
Expand Down

0 comments on commit 7bec2be

Please sign in to comment.