tokamak-network / simple-staking-v2

https://simple-staking-v2.vercel.app
0 stars 1 forks source link

[internal test]: Routing and Layout Issue when switching from mobile to desktop view on DAO Candidates page #44

Open Shailu-s opened 3 hours ago

Shailu-s commented 3 hours ago

Can you specify where the bug exists?

Stake

Which device are you seeing the problem on? (can select multiple)

Desktop

Which OS are you seeing the problem on? (can select multiple)

Others

What browsers are you seeing the problem on? (can select multiple)

Chrome

What happened?

While viewing the DAO Candidates on mobile at the URL https://simple-staking-v2-one.vercel.app/operators, switching to desktop view retains the same URL, but the horizontal distribution of the page layout becomes misaligned. The table view is not properly formatted for desktop screens. To resolve this, users navigating to the /operators route on desktop should be redirected to /staking, as the desktop view for /staking contains the operator information. Alternatively, if the /operators route is retained for desktop, the table's horizontal layout needs to be corrected for proper display.

Steps to Reproduce:

Expected Behavior:

Users switching to the desktop view should either be automatically redirected from /operators to /staking, where the operator information is properly displayed, or the layout for the /operators route should be fixed to ensure correct horizontal distribution.

Relevant log output

No response

Upload any screenshots to aid with explaining the bug.

image

Screencast from 2024-10-11 12-35-23.webm