Skip to content

Commit

Permalink
Default block styling
Browse files Browse the repository at this point in the history
  • Loading branch information
artpi committed May 22, 2019
1 parent f704917 commit f031cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/blocks/membership-button/edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ class MembershipsButtonEdit extends Component {
</InspectorControls>
);
const blockClasses = classnames( className, [
'wp-block-button__link',
'components-button',
'is-primary',
'is-button',
Expand Down
1 change: 1 addition & 0 deletions modules/memberships/class-jetpack-memberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ public function render_button( $attrs ) {
);

$classes = array(
'wp-block-button__link',
'components-button',
'is-primary',
'is-button',
Expand Down

0 comments on commit f031cc6

Please sign in to comment.