Skip to content

Commit

Permalink
Fix Advanced Button center alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
htmgarcia committed Jan 9, 2021
1 parent e730da3 commit dce078e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/assets/css/blocks_styles/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ span.wp-block-advgb-button[data-is-placeholder-visible=true] {
margin-top: -3px;
}

[data-type="advgb/button"][data-align="center"],
.wp-block-advgb-button.aligncenter {
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/blocks_styles/blocks.min.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/assets/css/blocks_styles/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@
span.wp-block-advgb-button[data-is-placeholder-visible=true] {
margin-top: -3px;
}

[data-type="advgb/button"][data-align="center"],
.wp-block-advgb-button.aligncenter {
text-align: center;
}
Expand Down

0 comments on commit dce078e

Please sign in to comment.