mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5953] [Feature]: Resizable/adjustable column widths on the Clients page #4126
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @artslay on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5953
Is your feature request related to a problem?
I cant see all tabs information because my display resolution to small.
Describe the solution you'd like
Ablity to change the width a tabs in Clients and Inbounds tabs
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 14, 2026):
Confirmed: there is no way to resize or hide columns on the Clients table today, so on a narrow display it is expected that some columns are only reachable by scrolling, not a bug.
What the code currently does (
frontend/src/pages/clients/ClientsPage.tsx):width(actions200,enable80,online90,client220,group130,attachedInbounds170,traffic300,speed110,remaining130,duration130 - lines 754-933). Those add up to well over 1200px.Tableitself is rendered withscroll={{ x: 1200 }}(line 1319). Once the columns total width exceeds the viewport, Ant Design keeps every column at its fixed width and makes the table horizontally scrollable instead of shrinking columns to fit, so the rightmost columns (Remaining, Duration, etc.) end up requiring a scroll rather than being resized.MOBILE_BREAKPOINT_PXinfrontend/src/hooks/useMediaQuery.ts), the page switches to a stacked card layout instead of the table, so this specifically affects windows or screens that are small but wider than 768px.frontend/package.json. Ant Design 6 (antd@6.5.1, the only table component used here) does not provide column resizing out of the box. The Inbounds list (frontend/src/pages/inbounds/list/InboundList.tsx) uses the same fixed-width-plus-horizontal-scroll pattern, so this is not specific to the Clients page.Until something is built, the available workarounds are the existing horizontal scrollbar on the table, widening the browser window, or reducing browser zoom.
This would need new work: draggable column-resize handles and/or a show/hide-columns toggle, plus persisting the chosen widths or visibility (for example in localStorage) so they survive a reload. It would help to know which is actually wanted:
Tagging @MHSanaei for a decision on scope and priority.
This reply was generated automatically. A maintainer may follow up.