Linlin fix(reports): resolve text overlap and chart label crowding in TotalProjectReport - #5507
Linlin fix(reports): resolve text overlap and chart label crowding in TotalProjectReport#5507linlin-husky wants to merge 1 commit into
Conversation
…crowding in TotalProjectReport
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
iAbhi001
left a comment
There was a problem hiding this comment.
If the labels remain horizontal after a hard refresh, paste a comment like this:
Hi @linlin-husky, thanks for working on this!
I tested the branch locally, but the −35 ∘rotation for the X-axis year labels does not appear to be applied (see screenshot below—labels are still rendering horizontally at 0∘).
Could you confirm:
Is the rotation intended only under specific media query breakpoints, or globally on the chart?
If global, could you double-check the selector targeting the SVG elements in TotalReportBarGraph.module.css?
The text stacking fix under the Total Project Report metrics looks good and is functioning properly.



Description
This PR resolves critical UI layout, text overlap, and responsiveness issues across extreme resolutions and zoom levels in the
TotalProjectReportandTotalReportBarGraphcomponents.TotalProjectReport.TotalReportBarGraphby applying proper word-wrapping and-35deglabel rotation.Fixes # UI/UX Bug Fix (Reports & Charts - High Priority)
Related PRS (if any):
PR3502
Main changes explained:
TotalReport.module.cssto includeword-break: break-word,overflow: visible, and switched.totalItemfrom row toflex-direction: columnto completely prevent narrow-screen text and number overlapping.TotalReportBarGraph.module.cssby adding a-35degrotation to X-axis year labels and fine-tuning typography scaling to eliminate crowding.How to test:
linlin_contributors_report_fix).npm installand start the app locally (npm run start:local).Screenshots or videos of changes:
Before the change
Before.the.change.mov
After the change
report.after.the.change.mov
Note:
Please ensure proper dark mode contrast and layout stability are verified during review.