From de01da21b2b966ed58d11719e4fbc8b7bf114719 Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:07:02 +0900 Subject: [PATCH] Tweak entity save panel button (#65695) Co-authored-by: t-hamano Co-authored-by: jasmussen Co-authored-by: afercia --- .../components/entities-saved-states/index.js | 18 ++++++++++-------- .../entities-saved-states/style.scss | 4 ++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/packages/editor/src/components/entities-saved-states/index.js b/packages/editor/src/components/entities-saved-states/index.js index 8c0d59573a44d..ba84ef2b392f5 100644 --- a/packages/editor/src/components/entities-saved-states/index.js +++ b/packages/editor/src/components/entities-saved-states/index.js @@ -128,11 +128,21 @@ export function EntitiesSavedStatesExtensible( { aria-describedby={ renderDialog ? dialogDescription : undefined } > + + { __( 'Cancel' ) } + @@ -147,14 +157,6 @@ export function EntitiesSavedStatesExtensible( { > { saveLabel } - - { __( 'Cancel' ) } -
diff --git a/packages/editor/src/components/entities-saved-states/style.scss b/packages/editor/src/components/entities-saved-states/style.scss index 981a0d92e5ff6..e2c320678c322 100644 --- a/packages/editor/src/components/entities-saved-states/style.scss +++ b/packages/editor/src/components/entities-saved-states/style.scss @@ -1,8 +1,8 @@ .entities-saved-states__panel-header { box-sizing: border-box; background: $white; - padding-left: $grid-unit-10; - padding-right: $grid-unit-10; + padding-left: $grid-unit-20; + padding-right: $grid-unit-20; height: $header-height; border-bottom: $border-width solid $gray-300; }