fix: prevent text overflow in environment cards#1015
Conversation
- Add overflow-hidden to Card to contain all content within boundaries - Add line-clamp-2 to description paragraph to limit to 2 lines - Add min-w-0 to environment name span and resource selector code element so truncate works correctly inside flex containers Co-authored-by: Aditya Choudhari <adityachoudhari26@users.noreply.github.com>
|
|
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 37 minutes and 5 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Pull request overview
This PR addresses text overflow issues in the workspace “Environments” view by constraining overflowing content within each environment card and ensuring truncation works correctly inside flex layouts.
Changes:
- Add
overflow-hiddento the environmentCardto keep content within the card bounds. - Clamp the environment description to 2 lines with
line-clamp-2. - Add
min-w-0to flex children sotruncateworks reliably for the environment name and resource selector.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixes text overflow in environment cards in the environments view.
Changes:
overflow-hiddento Card to contain all content within boundariesline-clamp-2to description paragraph to limit to 2 linesmin-w-0to environment name span and resource selector code element sotruncateworks correctly inside flex containersCloses #1013
Generated with Claude Code