You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removida a classe sm:max-w-[425px] hardcoded do dialogVariants (no arquivo .ts e na documentação). Isso evita o travamento da largura em telas maiores e permite que o tamanho do modal seja sobrescrito e customizado livremente via class externa.
Removed the sm:max-w-[425px] responsive max-width constraint from the dialog component's Tailwind styling in the dialogVariants CVA configuration. This eliminates the fixed width limitation on small screens and above, allowing the dialog layout to respond more flexibly to its container.
Removed sm:max-w-[425px] responsive max-width constraint from the CVA-based dialogVariants, allowing dialog width to be determined by other factors or overrides.
Possibly related issues
[Bug] Dialog width hardcoded #491 — Directly addresses the removal of the hardcoded sm:max-w-[425px] width constraint that was preventing dialogs from responding appropriately to layout requirements.
Poem
🎭 A dialog unbound, no longer confined,
The constraint removed, freedom redefined,
Widths now adapt with grace and ease,
Layout's horizons expand to please! 📦✨
The title accurately reflects the main change: removing hardcoded max-width styling from dialog variants, enabling flexible customization.
Docstring Coverage
✅ Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check
✅ Passed
PR description covers all essential template sections with appropriate detail: objective is clear, issue link provided, change type selected, and testing checklist completed.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches🧪 Generate unit tests (beta)
Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
What was done? 📝
Removida a classe
sm:max-w-[425px]hardcoded dodialogVariants(no arquivo.tse na documentação). Isso evita o travamento da largura em telas maiores e permite que o tamanho do modal seja sobrescrito e customizado livremente viaclassexterna.Screenshots or GIFs 📸
|-----Figma-----|
|-----Implementation-----|
| N/A | N/A |
Link to Issue 🔗
Closes #491
Type of change 🏗
Breaking change 🚨
Nenhuma.
Checklist 🧐
Summary by CodeRabbit