fix: revert dialog Field styles and z-index from density preset#2316
Merged
anastasialanz merged 1 commit intodevelopfrom Apr 8, 2026
Merged
fix: revert dialog Field styles and z-index from density preset#2316anastasialanz merged 1 commit intodevelopfrom
anastasialanz merged 1 commit intodevelopfrom
Conversation
frankensteinke
approved these changes
Apr 8, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reverts two Dialog-related style changes that were introduced as part of the compact density work: removing a rule that forced Fields inside Dialog content to be full-width, and removing the Dialog container’s z-index customization hook.
Changes:
- Removes
width: 100%forcing on.Dialog__content .Field. - Removes the
--dialog-z-indexcustom property and the.Dialogz-indexdeclaration.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.Dialog__content .Field { width: 100% }rule introduced in feat: create a density-compact preset #2287 that forced Field elements to full width inside Dialogs--dialog-z-indexcustom property andz-indexdeclaration on.Dialogadded in feat: create a density-compact preset #2287Test plan
width: 100%