fix(react): prevent text overflow in UI components (#529) - #565
Conversation
Add text overflow handling across Oxygen UI components: - PageTitleHeader: ellipsis truncation for long titles - PageTitleSubHeader: word-break wrapping for long subheaders - StatCard: ellipsis truncation on value/label with minWidth:0 flex fix - Form.CardButton: overflow hidden to contain card content - Form.ElementWrapper: ellipsis truncation on FormLabel - SidebarItemLabel: ellipsis truncation on sidebar item primary text - ListingTableCell: overflow-wrap break-word baseline with truncate override
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughSummaryAdds consistent text-overflow handling across Oxygen UI React components, including ellipsis truncation for titles, labels, sidebar text, and stat values; improved wrapping for subheaders and table cells; and overflow containment for form card buttons. ImpactImproves readability and layout stability when component text exceeds available space, especially in constrained or responsive layouts. WalkthroughUpdated Oxygen UI styling to handle constrained text and content. Card buttons now clip overflowing content. Form labels, table cells, page headers, sidebar labels, and stat card values support truncation or ellipsis behavior. Page subheaders now allow long words to break within constrained layouts. No component APIs or exported typings changed. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Add text overflow handling across Oxygen UI components:
Purpose
Related Issues
Related PRs
Checklist
Security checks