Skip to content

fix: prevent staking table columns from collapsing on mobile#1308

Open
sirakinb wants to merge 1 commit into
etherisc:developfrom
sirakinb:codex/fix-mobile-staking-table-width
Open

fix: prevent staking table columns from collapsing on mobile#1308
sirakinb wants to merge 1 commit into
etherisc:developfrom
sirakinb:codex/fix-mobile-staking-table-width

Conversation

@sirakinb

Copy link
Copy Markdown

Fixes #81.

Summary

  • Add minimum widths to the staking dashboard table columns so values do not collapse into unreadable cells on mobile-sized viewports.
  • Wrap the table in a horizontal overflow container and set the mobile grid width to the sum of the column minimums, allowing touch users to scroll the table instead of seeing cramped columns.
  • Keep the existing desktop flex layout behavior at md and above.

Testing

  • Not run locally: this environment does not have npm/yarn/pnpm available and the fresh clone has no node_modules.

@sirakinb

Copy link
Copy Markdown
Author

Small CI note: this PR is hitting the same CLA Assistant infrastructure failure as the depeg-ui PR.

The annotation is:

Could not retrieve repository contents. Status: 401

The workflow reads signatures from etherisc/cla-signatures via PERSONAL_ACCESS_TOKEN, so this looks like a workflow credential/access issue rather than a code/test failure in this PR. Happy to complete the CLA step once the workflow can prompt/check it.

@sirakinb

Copy link
Copy Markdown
Author

Maintainer note: the CLA Assistant check is failing before it can evaluate the PR. The workflow reports that it could not retrieve repository contents with status 401, which looks like a CLA Assistant token/app permission issue on the repository side rather than a code failure in this PR.

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.

[MetaMask Mobile] Column widht in main table can't be changed

2 participants