[GH-ISSUE #5953] [Feature]: Resizable/adjustable column widths on the Clients page #4126

Open
opened 2026-10-31 20:37:22 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @artslay on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5953

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?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
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? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
Author
Owner

@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):

  • Each column has a fixed pixel width (actions 200, enable 80, online 90, client 220, group 130, attachedInbounds 170, traffic 300, speed 110, remaining 130, duration 130 - lines 754-933). Those add up to well over 1200px.
  • The Table itself is rendered with scroll={{ 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.
  • Below a 768px viewport width (MOBILE_BREAKPOINT_PX in frontend/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.
  • There is no drag-to-resize handle anywhere in the panel, and no dependency for it in 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:

  1. Manual drag-to-resize on column borders, and/or
  2. A toggle to hide less-important columns (e.g. Group, Attached Inbounds) on small screens.

Tagging @MHSanaei for a decision on scope and priority.

This reply was generated automatically. A maintainer may follow up.

<!-- gh-comment-id:4967995799 --> @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`): - Each column has a fixed pixel `width` (`actions` 200, `enable` 80, `online` 90, `client` 220, `group` 130, `attachedInbounds` 170, `traffic` 300, `speed` 110, `remaining` 130, `duration` 130 - lines 754-933). Those add up to well over 1200px. - The `Table` itself is rendered with `scroll={{ 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. - Below a 768px viewport width (`MOBILE_BREAKPOINT_PX` in `frontend/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. - There is no drag-to-resize handle anywhere in the panel, and no dependency for it in `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: 1. Manual drag-to-resize on column borders, and/or 2. A toggle to hide less-important columns (e.g. Group, Attached Inbounds) on small screens. Tagging @MHSanaei for a decision on scope and priority. *This reply was generated automatically. A maintainer may follow up.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4126
No description provided.