Skip to content

feat(files): let the file manager table use the full page width - #20

Merged
CubityFirst merged 1 commit into
mainfrom
ui/file-manager-width
Nov 12, 2026
Merged

CubityFirst merged 1 commit into
mainfrom
ui/file-manager-width

Conversation

@CubityFirst

Copy link
Copy Markdown
Owner

On wide screens the file manager table sat in a 944px column with large empty margins on both sides. It shared the doc-column width with the dashboard, which suits reading layouts but not a data table.

The listing now fills the content pane, capped and centred at 120rem (1920px) so ultrawide monitors don't push the trailing columns a screen away from the names. The metadata columns keep their fixed widths, so the flexible Name column takes the extra space. The dashboard and file previews keep the narrower column.

Adds TABLE_CONTAINER to lib/pageContainer.ts alongside the existing READING_CONTAINER/WIDE_CONTAINER.

Frontend typecheck and FileManager/pages Vitest suites pass.

The listing sat in WIDE_CONTAINER (59rem), the doc-column width shared with
the dashboard, leaving wide empty margins on large screens. Add
TABLE_CONTAINER (fills the padded pane, capped and centred at 120rem) and use
it for the file manager so the flexible Name column takes the extra width.
@CubityFirst
CubityFirst merged commit 700fcb9 into main Nov 12, 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.

1 participant