From 8944c824676c49225bcba7a1d761c2c0073e84a1 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 10 Jul 2024 15:09:36 +0200 Subject: [PATCH] Patterns inserter tabs: temporary disable animated indicator --- packages/block-editor/src/components/inserter/style.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 631c7f727ddc41..b3f74dd82b9284 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -228,6 +228,13 @@ $block-inserter-tabs-height: 44px; margin-top: auto; } + // Temporary disable the component's indicator animation. This override should + // removed in favour of using the native component's styles and behavior. + // See https://github.com/WordPress/gutenberg/pull/62879#issuecomment-2219720582 + &[aria-orientation="vertical"]::after { + content: none; + } + .block-editor-inserter__category-tab { // Account for the icon on the right so that it's visually balanced. padding: $grid-unit-10 $grid-unit-05 $grid-unit-10 $grid-unit-15;