From de333f52f7355c1a3ffc5738872d63831caed0b7 Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Mon, 25 Oct 2021 15:23:27 +0300 Subject: [PATCH] [Block Editor] Remove visual clue from text alignment toolbar (#35922) --- .../alignment-control/test/__snapshots__/index.js.snap | 2 -- packages/block-editor/src/components/alignment-control/ui.js | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap b/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap index 872673b35f26f2..4f549af0b2dc11 100644 --- a/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap +++ b/packages/block-editor/src/components/alignment-control/test/__snapshots__/index.js.snap @@ -56,7 +56,6 @@ exports[`AlignmentUI should allow custom alignment controls to be specified 1`] } toggleProps={ Object { - "className": "is-pressed", "describedBy": "Change text alignment", } } @@ -134,7 +133,6 @@ exports[`AlignmentUI should match snapshot 1`] = ` } toggleProps={ Object { - "className": "is-pressed", "describedBy": "Change text alignment", } } diff --git a/packages/block-editor/src/components/alignment-control/ui.js b/packages/block-editor/src/components/alignment-control/ui.js index 541b3f8495dc9b..9b6b52042d1156 100644 --- a/packages/block-editor/src/components/alignment-control/ui.js +++ b/packages/block-editor/src/components/alignment-control/ui.js @@ -63,10 +63,7 @@ function AlignmentUI( { { const { align } = control;