feat: add overflowWrap to toast options for better text wrapping#1336
feat: add overflowWrap to toast options for better text wrapping#1336devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
Co-Authored-By: Guille <guille.a@paella.dev>
Original prompt from Guille |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Description
Adds
overflowWrap: "anywhere"CSS property to all Toaster components fromreact-hot-toastto improve text wrapping behavior in toast notifications. This prevents long text content (such as error messages, URLs, or technical strings) from overflowing toast containers and instead allows text to break and wrap to the next line for better readability.Changes Made:
apps/crossmint-nextjs/src/app/console/components/ClientProviders.tsx)apps/crossmint-nextjs/src/app/(wallet)/components/ClientProviders.tsx)apps/crossmint-nextjs/src/app/alpha/(console)/console/components/ClientProviders.tsx)apps/crossmint-nextjs/src/app/checkout/components/ClientProviders.tsx)apps/crossmint-nextjs/src/pages/_app.tsx)Requested by: Guille (guille.a@paella.dev)
Link to Devin run: https://app.devin.ai/sessions/75b0c010f0d041a892e5bc2d0e460d79
Test plan
overflowWrap: "anywhere"works correctly in supported browsersAreas to test manually:
Package updates
No package updates required - this is a CSS property addition only.
Review Focus Areas:
overflowWrapproperty achieves the intended text wrapping improvement