Skip to content

Fix duplicate overflow causing double scrollbars on users table mobile view#46

Merged
Stage4000 merged 2 commits intomainfrom
copilot/fix-users-table-mobile-layout
Feb 11, 2026
Merged

Fix duplicate overflow causing double scrollbars on users table mobile view#46
Stage4000 merged 2 commits intomainfrom
copilot/fix-users-table-mobile-layout

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

Users table displayed two horizontal scrollbars on mobile devices (≤768px) due to duplicate overflow-x: auto declarations on nested elements.

Changes

  • Removed duplicate overflow styling from table element in mobile breakpoint
  • Retained overflow-x: auto on .users-table container only

Technical Details

The mobile media query had redundant overflow declarations:

/* Before */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;  /* ← Creates scrollbar #1 */
    }
    
    .users-table {
        overflow-x: auto;  /* ← Creates scrollbar #2 */
    }
}

/* After */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    
    .users-table {
        overflow-x: auto;  /* Single scrollbar */
    }
}

Container-level overflow is sufficient since table has min-width: 900px and .users-table provides the scrolling context.

Original prompt

This section details on the original issue you should resolve

<issue_title>Users Table Mobile Layout</issue_title>
<issue_description>When accessing the users page from a mobile device, a visual issue has been observed. Specifically, the display presents two horizontal scrollbars instead of the expected single scrollbar, which negatively impacts the user experience on smaller screens.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Stage4000 <46226385+Stage4000@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix users table mobile layout issue with scrollbars Fix duplicate overflow causing double scrollbars on users table mobile view Feb 11, 2026
Copilot AI requested a review from Stage4000 February 11, 2026 22:32
@Stage4000
Copy link
Owner

@copilot The current implementation of the leaderboard page causes an unnecessary full page refresh whenever the user modifies the filter settings. This results in a poor user experience due to the interruption of the ongoing session and the delay associated with reloading the entire page. It would be beneficial to implement a solution that updates the leaderboard data without requiring a complete page refresh, such as using AJAX or WebSockets to update only the relevant leaderboard content. This approach would provide a smoother and more responsive user interface.

Copy link
Contributor Author

Copilot AI commented Feb 11, 2026

@copilot The current implementation of the leaderboard page causes an unnecessary full page refresh whenever the user modifies the filter settings. This results in a poor user experience due to the in...

This PR specifically fixes the double scrollbar issue on the users table mobile layout. The leaderboard filtering enhancement you're describing is a separate feature that would be better tracked as a new issue. Would you like me to create a new issue or PR to implement AJAX-based filtering for the leaderboards page?

@Stage4000 Stage4000 marked this pull request as ready for review February 11, 2026 22:35
@Stage4000 Stage4000 merged commit ec15c97 into main Feb 11, 2026
1 check passed
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.

Users Table Mobile Layout

2 participants