From 2030d48453320e20eaa0be38fd891815859b56ca Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:13:00 +0200 Subject: [PATCH] Try: Update duplicate modal, move to 40px components. (#63246) Co-authored-by: jasmussen Co-authored-by: jameskoster --- packages/dataviews/src/dataform.tsx | 1 + packages/editor/src/components/post-actions/actions.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/dataviews/src/dataform.tsx b/packages/dataviews/src/dataform.tsx index 6280964e91162..b81e1c4ae83d3 100644 --- a/packages/dataviews/src/dataform.tsx +++ b/packages/dataviews/src/dataform.tsx @@ -51,6 +51,7 @@ function DataFormTextControl< Item >( { placeholder={ placeholder } value={ value } onChange={ onChangeControl } + __next40pxDefaultSize /> ); } diff --git a/packages/editor/src/components/post-actions/actions.js b/packages/editor/src/components/post-actions/actions.js index 94e38d4ed30f0..484b1e503c1e0 100644 --- a/packages/editor/src/components/post-actions/actions.js +++ b/packages/editor/src/components/post-actions/actions.js @@ -770,6 +770,7 @@ const useDuplicatePostAction = ( postType ) => { @@ -778,6 +779,7 @@ const useDuplicatePostAction = ( postType ) => { type="submit" isBusy={ isCreatingPage } aria-disabled={ isCreatingPage } + __next40pxDefaultSize > { _x( 'Duplicate', 'action label' ) }