Skip to content

Commit

Permalink
Patterns inserter tabs: temporary disable animated indicator (#63352)
Browse files Browse the repository at this point in the history
* Patterns inserter tabs: temporary disable animated indicator

* Apply feedback

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
  • Loading branch information
4 people committed Jul 10, 2024
1 parent 6f5de82 commit 9a12af4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,13 @@ $block-inserter-tabs-height: 44px;
margin-top: auto;
}

// Temporarily disable the component's indicator animation.
// TODO: remove in favor 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;
Expand Down

1 comment on commit 9a12af4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 9a12af4.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9877098880
📝 Reported issues:

Please sign in to comment.