fix(sidebar): truncate long item titles to prevent overflow - #7069
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe sidebar updates item and submenu layouts to allow content shrinking, truncate long titles, and preserve icon sizing in expanded and collapsed views. ChangesSidebar overflow handling
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: Merge Risk: ⚪ Minimal · up to The sidebar truncation and sizing updates are ready to merge with no identified user-facing regression risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4b7d9e2 to
d5afbd6
Compare
a5e04ed to
924d198
Compare
d5afbd6 to
1c987b3
Compare
924d198 to
05e8450
Compare
1c987b3 to
f89af37
Compare
05e8450 to
713c109
Compare
f89af37 to
fb7ffc0
Compare
713c109 to
cd36837
Compare
Merge activity
|
The base branch was changed.

Summary
Sidebar item titles were overflowing their containers when text was long, causing layout issues. This fix ensures text is properly truncated with ellipsis instead of breaking the sidebar layout.
Changes
min-w-0to flex containers in sidebar items and sub-items to allow proper shrinking within flex layoutstruncateandmin-w-0to title<span>elements so long text is clipped with an ellipsis rather than overflowingshrink-0to sub-item icons to prevent them from being compressed when adjacent text truncatesType of change
Affected areas
How to test
Navigate to a sidebar that contains items or sub-items with long titles and verify that the text truncates cleanly with an ellipsis rather than overflowing or wrapping outside the sidebar bounds.
Screenshots/Recordings
Add before/after screenshots showing the sidebar with long item titles to confirm truncation behavior.
Breaking changes
Related issues
Security considerations
None.
Checklist
docs/contributing/README.mdand followed the guidelines