Skip to content

Fix/username overflow mobile only#2185

Open
Bhavy12-cell wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Bhavy12-cell:fix/username-overflow-mobile-only
Open

Fix/username overflow mobile only#2185
Bhavy12-cell wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Bhavy12-cell:fix/username-overflow-mobile-only

Conversation

@Bhavy12-cell

Copy link
Copy Markdown
Contributor

Closes #1762

Fixed username text overflow in Dashboard header on mobile viewports.

Changes:

  • Added truncate + max-w-[120px] sm:max-w-[200px] to username span
  • Added min-w-0 max-w-full to greeting badge container
  • Long names now truncate with ellipsis instead of overflowing
  • No visual regression on desktop viewports

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

@Bhavy12-cell is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:bug GSSoC type bonus: bug fix labels Jun 7, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

@Bhavy12-cell

Copy link
Copy Markdown
Contributor Author

Hi @Priyanshu-byte-coder!

Split into two separate PRs as requested:

  • Overflow fix only: [link to new PR]
  • AI Project Tutor: will open separately

Closing this PR.

@Priyanshu-byte-coder

Copy link
Copy Markdown
Owner

This PR has merge conflicts with main on DashboardHeader.tsx. Please rebase:

git fetch origin
git rebase origin/main

@Priyanshu-byte-coder Priyanshu-byte-coder added gssoc:approved GSSoC: PR approved for scoring level:beginner GSSoC: Beginner difficulty (20 pts) labels Jun 9, 2026
@Priyanshu-byte-coder

Copy link
Copy Markdown
Owner

Hi! This PR has merge conflicts with the main branch. Could you please rebase or merge main into your branch to resolve them? We'd love to get this merged! 🚀

git fetch upstream
git rebase upstream/main
# resolve any conflicts
git push --force-with-lease

If you're no longer working on this, let us know and we can close it. Thanks!

@Bhavy12-cell

Copy link
Copy Markdown
Contributor Author

Hi @Priyanshu-byte-coder
Please review again.

@Priyanshu-byte-coder

Copy link
Copy Markdown
Owner

This PR has merge conflicts with the main branch. Please rebase your branch on latest main and resolve the conflicts so it can be reviewed and merged.

@Bhavy12-cell Bhavy12-cell force-pushed the fix/username-overflow-mobile-only branch from f5f6e7c to 33a699a Compare June 10, 2026 15:50
@github-actions github-actions Bot added type:feature GSSoC type bonus: new feature type:design GSSoC type bonus: UI/design (+10 pts) type:performance GSSoC type bonus: performance (+15 pts) labels Jun 10, 2026
@Bhavy12-cell

Copy link
Copy Markdown
Contributor Author

Hi @Priyanshu-byte-coder
I have rebased onto latest main and resolved all conflicts. Please review again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC: PR approved for scoring gssoc26 GSSoC 2026 contribution level:beginner GSSoC: Beginner difficulty (20 pts) type:bug GSSoC type bonus: bug fix type:design GSSoC type bonus: UI/design (+10 pts) type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Username text overflows its container in the Dashboard header on mobile viewport

2 participants