Skip to content

fix: underline profile stats as one link on hover - #1586

Open
hbenabdallah wants to merge 1 commit into
dev-null-sh:productionfrom
hbenabdallah:fix/profile-stat-underline
Open

hbenabdallah wants to merge 1 commit into
dev-null-sh:productionfrom
hbenabdallah:fix/profile-stat-underline

Conversation

@hbenabdallah

@hbenabdallah hbenabdallah commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor
Before (hovering followers) After (hovering followers)
before: number and label underlined separately with a gap after: one continuous underline under the number and label

Summary by CodeRabbit

  • Style
    • Updated spacing in the profile statistics row: the gap between items was removed, and a nonbreaking space now follows each formatted statistic count. This may change how counts and adjacent text appear together.

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The profile statistic row no longer applies a flex gap. The formatted count now ends with a nonbreaking space.

Changes: Profile statistic spacing

Layer / File(s) Summary
Statistic row spacing
resources/js/pages/user/show.tsx
The statistic row no longer applies a gap between its label and count. A nonbreaking space is appended after the formatted count.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related issues

  • Issue 1579 describes a profile statistic hover underline that breaks between the number and label. This change moves the space into the count link.

Suggested reviewers: sadiqk2, xheaven

Merge Risk: Minimal · up to 27f73

This is a small visual tweak to how profile statistics are spaced and underlined on hover. No functional or data risk is apparent, and it can be reverted easily.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the fix and the behavior it targets: hovering over profile stats underlines the number and label as one link. The raw summary confirms the change removes the flex gap and adds a nonbre…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the fix and the behavior it targets: hovering over profile stats underlines the number and label as one link. The raw summary confirms the change removes the flex gap and adds a nonbreaking space inside the count link in resources/js/pages/user/show.tsx, which matches the title's intent. The title is specific and concise and needs no search or external lookup. The reviewer comments about screenshot inconsistency concern PR documentation, not the title's accuracy against the code change.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ebc4477-b92f-483f-850b-8c358ab2c422
Commits

Reviewing files that changed from the base of the PR and between d45980e and 27f73bc.

Files selected for processing: 1

  • resources/js/pages/user/show.tsx
Files skipped from review as they are similar to previous changes: 1

  • resources/js/pages/user/show.tsx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@hbenabdallah

Copy link
Copy Markdown
Contributor Author

@xHeaven easy peasy

@shanesmithdev

Copy link
Copy Markdown
Contributor

The screenshots don't look right. The 'after' screenshot matches what you describe the old behaviour as being, and the 'before' screenshot is malformed and not rendering at all properly for me.

@hbenabdallah
hbenabdallah force-pushed the fix/profile-stat-underline branch from d45980e to 27f73bc Compare November 26, 2026 08:57
@hbenabdallah

Copy link
Copy Markdown
Contributor Author

The screenshots don't look right. The 'after' screenshot matches what you describe the old behaviour as being, and the 'before' screenshot is malformed and not rendering at all properly for me.

Thanks for catching that, the old screenshots were wrong. I've replaced them with fresh ones from the running app, both taken while hovering "followers".

@shanesmithdev

Copy link
Copy Markdown
Contributor

Yep, fixed now

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants