-
Notifications
You must be signed in to change notification settings - Fork 198
fix: prevent trade status indicator text from overflowing container #11567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughTwo stepper step components in the trade confirmation flow are enhanced with explicit layout constraints—minWidth={0} and overflow='hidden'—to prevent content overflow during error states with long text elements. No functional changes to data flow or APIs. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (6)**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{tsx,jsx}📄 CodeRabbit inference engine (.cursor/rules/error-handling.mdc)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/naming-conventions.mdc)
Files:
**/*.{jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/react-best-practices.mdc)
Files:
**/*.tsx📄 CodeRabbit inference engine (.cursor/rules/react-best-practices.mdc)
Files:
🧠 Learnings (12)📓 Common learnings📚 Learning: 2025-07-29T15:04:28.083ZApplied to files:
📚 Learning: 2025-12-22T23:36:06.927ZApplied to files:
📚 Learning: 2025-08-08T11:41:36.971ZApplied to files:
📚 Learning: 2025-08-08T11:40:55.734ZApplied to files:
📚 Learning: 2025-11-24T21:20:04.979ZApplied to files:
📚 Learning: 2025-08-08T14:59:40.422ZApplied to files:
📚 Learning: 2025-09-04T12:16:47.748ZApplied to files:
📚 Learning: 2025-10-21T17:11:18.087ZApplied to files:
📚 Learning: 2025-08-08T15:00:49.887ZApplied to files:
📚 Learning: 2025-12-27T16:02:52.792ZApplied to files:
📚 Learning: 2025-07-30T20:57:48.176ZApplied to files:
🧬 Code graph analysis (1)src/components/MultiHopTrade/components/TradeConfirm/components/ExpandableStepperSteps.tsx (1)
🔇 Additional comments (2)
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. Comment |
20a1a94 to
5ccab7d
Compare
NeOMakinG
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Prevent long error messages from overflowing the trade status stepper container by adding proper flex constraints and text truncation.
Issue (if applicable)
Risk
Low - CSS-only changes to fix overflow behavior in trade confirmation UI.
None - purely visual fix.
Testing
Engineering
Operations
🏁 My feature is behind a flag and doesn't require operations testing (yet)
N/A re: error state
Ensure regular trade flow without errors still looks good on mobile/desktop re: expandable steps
Screenshots (if applicable)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.