Skip to content

Commit

Permalink
Fix undo/redo Button size in Storybook playground (WordPress#66538)
Browse files Browse the repository at this point in the history
Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
  • Loading branch information
4 people authored and karthick-murugan committed Nov 13, 2024
1 parent 9501c2a commit 105cafb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storybook/stories/playground/with-undo-redo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ export default function EditorWithUndoRedo() {
accessibleWhenDisabled
icon={ undoIcon }
label="Undo"
size="compact"
/>
<Button
onClick={ redo }
disabled={ ! hasRedo }
accessibleWhenDisabled
icon={ redoIcon }
label="Redo"
size="compact"
/>
<BlockToolbar hideDragHandle />
</div>
Expand Down

0 comments on commit 105cafb

Please sign in to comment.