Skip to content

Commit

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

* Patterns inserter tabs: temporary disable animated indicator

* Apply feedback

---

Co-authored-by: ciampo <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: tyxla <[email protected]>
  • Loading branch information
4 people authored and carstingaxion committed Jul 18, 2024
1 parent 9b90f15 commit 8e5e9b5
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

0 comments on commit 8e5e9b5

Please sign in to comment.