Skip to content

fix: revert dialog Field styles and z-index from density preset#2316

Merged
anastasialanz merged 1 commit intodevelopfrom
fix--revert-dialog-field-styles
Apr 8, 2026
Merged

fix: revert dialog Field styles and z-index from density preset#2316
anastasialanz merged 1 commit intodevelopfrom
fix--revert-dialog-field-styles

Conversation

@anastasialanz
Copy link
Copy Markdown
Collaborator

@anastasialanz anastasialanz commented Apr 8, 2026

Summary

Test plan

  • Verify Field elements inside Dialogs are no longer forced to width: 100%

@anastasialanz anastasialanz requested a review from a team as a code owner April 8, 2026 16:22
Copilot AI review requested due to automatic review settings April 8, 2026 16:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-index custom property and the .Dialog z-index declaration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aws-amplify-us-east-1
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2316.d15792l1n26ww3.amplifyapp.com

@anastasialanz anastasialanz merged commit bd48a98 into develop Apr 8, 2026
13 checks passed
@anastasialanz anastasialanz deleted the fix--revert-dialog-field-styles branch April 8, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants