Skip to content

Commit

Permalink
Fix container order
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Jun 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5222169 commit c45fdde
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/volto-button-block/src/components/View.jsx
Original file line number Diff line number Diff line change
@@ -12,9 +12,11 @@ const messages = defineMessages({
});

const LegacyWrapper = (props) => (
<div className={cx(`align ${props.data?.inneralign}`)}>
<div className={cx('block __button', props.className)}>
<div className="button container">{props.children}</div>
<div className={cx('block __button', props.className)}>
<div className="button container">
<div className={cx(`align ${props.data?.inneralign}`)}>
{props.children}
</div>
</div>
</div>
);

0 comments on commit c45fdde

Please sign in to comment.