CircularOptionPicker: Inline z-index values#77715
Conversation
|
Size Change: +19 B (0%) Total Size: 7.82 MB 📦 View Changed
ℹ️ View Unchanged
|
|
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. |
|
Flaky tests detected in 6c0b517. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25056785055
|
What?
Localizes the
CircularOptionPickerz-index values that were previously defined in the sharedz-index()helper.Why?
These stacking values only describe layering within the
CircularOptionPickercomponent, so keeping them in the local component styles makes the shared z-index map smaller and easier to reserve for cross-component stacking concerns.How?
CircularOptionPickerentries frompackages/base-styles/_z-index.scss.isolation: isolateto the component root.z-index()calls with local z-index values inpackages/components/src/circular-option-picker/style.scss.Testing Instructions
npm run lint:css -- packages/base-styles/_z-index.scss packages/components/src/circular-option-picker/style.scss.CircularOptionPicker.Screenshots