Skip to content

Comments

fix(contributors): resolve Top Contributors overflow and clipping on mobile screens#935

Open
Aarya-Chaudhari wants to merge 11 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:topstats
Open

fix(contributors): resolve Top Contributors overflow and clipping on mobile screens#935
Aarya-Chaudhari wants to merge 11 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:topstats

Conversation

@Aarya-Chaudhari
Copy link
Contributor

📋 Description

This PR fixes a responsive layout bug in the Top Contributors section where cards were overflowing horizontally and getting partially clipped on smaller screens and mobile devices.

The issue was caused by a fixed 3-column grid layout and card scaling hover effects, which forced the cards to extend beyond the viewport instead of adapting responsively.

The layout has now been updated to a fully responsive grid that stacks cards properly on mobile and prevents horizontal overflow while maintaining the existing design aesthetics.

Solution Implemented
Replaced fixed 3-column grid with responsive auto-fit grid
Removed restrictive max-width from top contributor cards
Added mobile-specific media queries to stack cards vertically
Disabled scale transform on smaller screens to prevent overflow
Improved container padding and spacing for mobile alignment

📸 Screenshots (MANDATORY for UI/UX changes)

Screenshot 2026-02-22 105901
  • This PR includes UI/UX changes → Screenshots attached
  • This PR does NOT include UI/UX changes

Closes #893

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.

[Bug]: Top Contributors Section Overflows and Misaligns on Mobile Devices

1 participant