Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/block-library/src/freeform/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function ModalAuxiliaryActions( { onClick, isModalFullScreen } ) {

return (
<Button
size="small"
size="compact"
onClick={ onClick }
icon={ fullscreen }
isPressed={ isModalFullScreen }
Expand Down
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

### Bug Fixes

- `Modal`: Modal: Increase size of the Close button ([#66792](https://github.com/WordPress/gutenberg/pull/66792)).
- `ToggleGroupControl`: Fix active background for `0` value ([#66855](https://github.com/WordPress/gutenberg/pull/66855)).
- `SlotFill`: Fix a bug where a stale value of `fillProps` could be used ([#67000](https://github.com/WordPress/gutenberg/pull/67000)).
- `ColorPalette`: Disable `Clear` button if there's no color value. ([#67108](https://github.com/WordPress/gutenberg/pull/67108)).
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ function UnforwardedModal(
<>
<Spacer
marginBottom={ 0 }
marginLeft={ 3 }
marginLeft={ 2 }
/>
<Button
size="small"
size="compact"
onClick={ (
event: React.MouseEvent< HTMLButtonElement >
) =>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/modal/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const WithHeaderActions: StoryFn< typeof Modal > = Template.bind( {} );
WithHeaderActions.args = {
...Default.args,
headerActions: (
<Button icon={ fullscreen } label="Fullscreen mode" size="small" />
<Button icon={ fullscreen } label="Fullscreen mode" size="compact" />
),
children: <div style={ { height: '200px' } } />,
};
Expand Down