mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 21:59:09 -05:00
[PR #1931] [CLOSED] Fix resources card table header mobile responsiveness #2766
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1931
Author: @filipe-costa
Created: 11/27/2025
Status: ❌ Closed
Base:
main← Head:fix-resources-card-table-header-mobile-responsiveness📝 Commits (3)
05fb258Fix resources card table header for mobile / tablets when enableClients flag is enabled60cac42Use css grid instead553c33aUse dynamic css styles to set grid columns for "lg" breakpoint📊 Changes
1 file changed (+181 additions, -139 deletions)
View changed files
📝
src/components/ResourcesTable.tsx(+181 -139)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
When viewing the "Manage Resources" page on mobile and when they are available clients, i.e.
enableClientsflag is true - theProxyandClientresources tab list buttons would end up overlapping itself.I took the opportunity to use CSS Grid instead of flex box since I wanted to have more granular control over both axis - and at different breakpoints.
I did a local docker build in my own VPS environment to showcase this:
Before the fix - I have tested it with Chrome on Iphone 13 Pro:

After the fix - I have tested it with Chrome on Iphone 13 Pro:
I have also tested in the following mobile browsers:
How to test?
src/lib/pullEnv.ts, and set the keyenableClientsto betrue.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.