fix: prevent long non-breaking URLs from overflowing project view (#7…#7961
Conversation
|
Could you please review my PR? |
PR Review: fix: prevent long non-breaking URLs from overflowing project viewSummary of ChangesThis PR fixes a UI overflow bug (closes #7959) where long non-breaking text (e.g., URLs without spaces or hyphens) in thread titles would cause the project view to expand horizontally beyond the viewport. Two files are modified with a total of 4 additions and 4 deletions. File 1:
File 2:
Code Quality AssessmentCorrectness of the CSS approach The fix is technically sound and follows well-established Tailwind/CSS patterns:
Minor Observations
Risks and Concerns
Missing TestsThis is a purely visual/CSS bug fix with no automated test coverage expected. Recommended manual test matrix:
Final RecommendationImprove needed (minor) before merge:
The core fix is correct, targeted, and low-risk. The changes are easy to understand and follow standard Tailwind/CSS flexbox patterns. None of the above suggestions are blocking, but items 1 and 2 in particular would make the fix more complete. Good work identifying the root cause and tackling it at the right level of the component tree! |
|
Hello, @qnixsynapse ! |
Code Review — follow-up reviewNew commits since last review: Previous feedback addressedIn the initial review I noted that the overflow fix only applied to the project-view branch of the conditional and that the non-project
Both changes are correct. Remaining observations
Merge readinessAll feedback from the initial review has been addressed. The fix is minimal, correct, and consistently applied to both the project-view and non-project thread title paths. Recommendation: can merge |
|
Thank you for your review. |
|
This one looks good. Thank you for contributing. Will merge after testing later today. Make sure to add necessary tests. |
806a03b to
9fbc6c8
Compare
|
Hi, @qnixsynapse ! |
|
Hello, @qnixsynapse! |

Describe Your Changes
min-w-0toSidebarInsetto prevent flex item from expanding beyond viewport when content contains long non-breaking textmax-w-full overflow-hiddento thread cardLinkin project view to constrain widthblock truncateto thread titlespanto truncate long titles with ellipsisFixes Issues
Self Checklist
Screenshots
After fix
![thread-title-truncated]

(screenshot.png)
Thread titles with long non-breaking text are now properly truncated with ellipsis instead of breaking the container layout.