From bb03b755a6cd610f6e0c8b9caefb8f43e5676f6f Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Fri, 1 Sep 2023 09:26:30 +1000 Subject: [PATCH 1/2] Fix social icons block alignment --- packages/block-library/src/social-link/edit.native.js | 2 +- packages/block-library/src/social-link/editor.native.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/social-link/edit.native.js b/packages/block-library/src/social-link/edit.native.js index cdfca2cb17abd5..856c6aa704a4e6 100644 --- a/packages/block-library/src/social-link/edit.native.js +++ b/packages/block-library/src/social-link/edit.native.js @@ -158,7 +158,7 @@ const SocialLinkEdit = ( { ); return ( - + { isSelected && ( <> diff --git a/packages/block-library/src/social-link/editor.native.scss b/packages/block-library/src/social-link/editor.native.scss index be0919d2c33fb6..91b69de77de64e 100644 --- a/packages/block-library/src/social-link/editor.native.scss +++ b/packages/block-library/src/social-link/editor.native.scss @@ -21,3 +21,7 @@ .inactiveIconDark { background-color: $dark-quaternary; } + +.container { + margin: $block-selected-margin; +} From 0457c9c677d500af31c452cb16e249b579f278a4 Mon Sep 17 00:00:00 2001 From: Derek Blank Date: Fri, 1 Sep 2023 10:02:28 +1000 Subject: [PATCH 2/2] Update CHANGELOG --- packages/react-native-editor/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index a9fa07190f2fcd..eb51687d73fc67 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -16,6 +16,7 @@ For each user feature we should also add a importance categorization label to i - [*] Fix horizontal rule style extensions [#53917] - [*] Add block outline to all Social Link blocks when selected [#54011] - [*] Columns block - Fix transforming into a Group block crash [#54035] +- [*] Fix Social Icons block alignment [#54100] ## 1.102.1 - [**] Fix Voice Over and assistive keyboards [#53895]