Skip to content

Commit

Permalink
added legacy button class
Browse files Browse the repository at this point in the history
  • Loading branch information
gollenia committed Sep 10, 2024
1 parent 552cf23 commit 2bf9134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/button/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$button_id = $attributes['action'] == "modal" ? "data-modal=\"{$id}\"" : "id=\"{$id}\"";

$classNames = [
'ctx__button',
'button ctx__button',
$attributes['iconOnly'] ? 'ctx__button--icon-only' : '',
$attributes['iconRight'] ? 'ctx__button--reverse' : '',
];
Expand Down

0 comments on commit 2bf9134

Please sign in to comment.