Skip to content

Commit

Permalink
Try: Update duplicate modal, move to 40px components. (#63246)
Browse files Browse the repository at this point in the history
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
  • Loading branch information
3 people committed Jul 8, 2024
1 parent cfea061 commit 2030d48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/dataviews/src/dataform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function DataFormTextControl< Item >( {
placeholder={ placeholder }
value={ value }
onChange={ onChangeControl }
__next40pxDefaultSize
/>
);
}
Expand Down
2 changes: 2 additions & 0 deletions packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@ const useDuplicatePostAction = ( postType ) => {
<Button
variant="tertiary"
onClick={ closeModal }
__next40pxDefaultSize
>
{ __( 'Cancel' ) }
</Button>
Expand All @@ -778,6 +779,7 @@ const useDuplicatePostAction = ( postType ) => {
type="submit"
isBusy={ isCreatingPage }
aria-disabled={ isCreatingPage }
__next40pxDefaultSize
>
{ _x( 'Duplicate', 'action label' ) }
</Button>
Expand Down

0 comments on commit 2030d48

Please sign in to comment.