nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.54k stars 181 forks source link

solito website side nav on mobile looks broken #248

Closed doubleppereira closed 1 year ago

doubleppereira commented 2 years ago

Steps:

  1. Opened https://solito.dev/ on mobile viewport

  2. Clicked on the side nav button to open:

    Screenshot 2022-11-26 at 13 25 34
  3. Displays as follows:

    Screenshot 2022-11-26 at 13 26 05

It happens on Chrome, Safari and Firefox

nandorojo commented 2 years ago

weird! works for me…

720A7C33-0654-480C-B8BA-85E070FA0B4C

doubleppereira commented 2 years ago

Tested in my Mac with all 3 browsers and my Android device. Same result

doubleppereira commented 2 years ago

Androidn screenshot: Screenshot_2022-11-26-13-42-10-33

nandorojo commented 2 years ago

thanks for testing all that. i wonder what’s causing it

doubleppereira commented 2 years ago

could it be cache? Getting this on the response headers:

Screenshot 2022-11-26 at 14 10 39

it could explain why it looks ok for you and not from my side.. region cache.. just throwing ideas 😅

nandorojo commented 2 years ago

yeah that could be it

doubleppereira commented 2 years ago

I can't give any other culprit since this was built in docusaurus. 🤷🏼‍♂️ someone could have seen this bug before I guess.

navanshu commented 1 year ago

This might help use 100vh instead of 100%;

.navbar-sidebar {
 overflow: visible
}

.navbar-sidebar__items {
 height: calc(100vh - var(--ifm-navbar-height))
}