Skip to content

Commit

Permalink
fix to button with icon
Browse files Browse the repository at this point in the history
  • Loading branch information
POK authored and POK committed Nov 13, 2024
1 parent 6204223 commit e928760
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/icon-block/style-index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/icon-block/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
border-left: var(--icon-small-border);
}
}

.wp-block-button.has-icon-left .wp-block-button__link i {
padding-right: 0.5em;
}
.wp-block-button.has-icon-right .wp-block-button__link i {
padding-left: 0.5em;
.wp-block-button.has-icon-left .wp-block-button__link,
.wp-block-button.has-icon-right .wp-block-button__link {
display: flex;
align-items: center;
gap: 0.5em;
white-space: nowrap;
}


Expand Down

0 comments on commit e928760

Please sign in to comment.