Skip to content

Commit f1c758b

Browse files
mirkaramonjd
andauthored
Block editor: Remove stale reusable block z-index styles (#77774)
* Block editor: Inline reusable block z-index * Remove stale class * Add changelog Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
1 parent f091de9 commit f1c758b

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

packages/base-styles/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
### Breaking Changes
66

7-
- Remove the following entries from the `z-index()` helper ([#77619](https://github.com/WordPress/gutenberg/pull/77619), [#77620](https://github.com/WordPress/gutenberg/pull/77620), [#77621](https://github.com/WordPress/gutenberg/pull/77621), [#77714](https://github.com/WordPress/gutenberg/pull/77714), [#77715](https://github.com/WordPress/gutenberg/pull/77715), [#77717](https://github.com/WordPress/gutenberg/pull/77717)):
7+
- Remove the following entries from the `z-index()` helper ([#77619](https://github.com/WordPress/gutenberg/pull/77619), [#77620](https://github.com/WordPress/gutenberg/pull/77620), [#77621](https://github.com/WordPress/gutenberg/pull/77621), [#77714](https://github.com/WordPress/gutenberg/pull/77714), [#77715](https://github.com/WordPress/gutenberg/pull/77715), [#77717](https://github.com/WordPress/gutenberg/pull/77717), [#77774](https://github.com/WordPress/gutenberg/pull/77774)):
88
- `.block-editor-block-contextual-toolbar`
99
- `.block-editor-block-list__block {core/image aligned wide or fullwide}`
1010
- `.block-editor-block-list__block::before`
1111
- `.block-editor-block-list__block.has-block-overlay`
12+
- `.block-editor-block-list__block .reusable-block-edit-panel *`
1213
- `.block-editor-block-list__insertion-point`
1314
- `.block-editor-block-switcher__arrow`
1415
- `.block-editor-url-input__suggestions`

packages/base-styles/_z-index.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ $z-layers: (
3838
// The draggable element should show up above the entire UI
3939
".components-draggable__clone": 1000000000,
4040

41-
".block-editor-block-list__block .reusable-block-edit-panel *": 1,
42-
4341
// Show drop zone above most standard content, but below any overlays
4442
".components-drop-zone": 40,
4543
".components-drop-zone__content": 50,

packages/block-editor/src/components/block-list/content.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,6 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection="true"] .b
153153
}
154154
}
155155

156-
.reusable-block-edit-panel * {
157-
z-index: z-index(".block-editor-block-list__block .reusable-block-edit-panel *");
158-
}
159-
160156
/**
161157
* Notices
162158
*/

0 commit comments

Comments
 (0)