ppresume / community

Discussions, feedbacks, roadmaps, community.
57 stars 3 forks source link

bug: fix tabs width when loading /dashboard page on mobile #44

Closed xiaohanyu closed 2 months ago

xiaohanyu commented 2 months ago

Description

The width of <Tabs> component in /dashboard page got changed during and after page loading.

To Reproduce

Steps to reproduce the behavior:

  1. Go to /dashboard page on mobile (or mobile sized viewport on desktop browser)
  2. reload the whole page

Actual Behavior

The width of the <Tabs> component got changed and there's a splash after loading

Expected Behavior

The width of the <Tabs> component should keep the same and relatively to the size of the viewport

[Optional] Screenshots

Demo:

https://github.com/ppresume/community/assets/1164623/26abea2e-05db-49e1-a736-2fb6cd59aac9

Desktop

Smartphone

NA

Additional Context

NA

xiaohanyu commented 2 months ago

Fixed.

https://github.com/ppresume/community/assets/1164623/ca7ea7c2-33cb-4a7a-9018-f7065f6e68ef