ComplementaryArea: Inline z-index values#77717
Conversation
c04e34e to
fcb9a28
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.82 MB ℹ️ View Unchanged
|
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
|
Flaky tests detected in 7753d82. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25056832087
|
What?
Localizes the
ComplementaryAreaz-index values that were previously defined in the sharedz-index()helper.Why?
These stacking values only describe layering within the
ComplementaryAreasidebar, between the scrollable panel content and the sticky header. Keeping them in the local component styles makes the shared z-index map smaller and easier to reserve for cross-component stacking concerns.How?
Removes the
ComplementaryAreaentries frompackages/base-styles/_z-index.scssand replaces thez-index()calls inpackages/interface/src/components/complementary-area/style.scsswith local0and1values.Testing Instructions
npm run lint:css -- packages/base-styles/_z-index.scss packages/interface/src/components/complementary-area/style.scss.Screenshots or screencast