NucleoidMC / nucleoid-stats

MIT License
0 stars 4 forks source link

Website does not use full scale on smaller viewports #5

Open haykam821 opened 2 years ago

haykam821 commented 2 years ago

On smaller viewports (less than roughly 480px width), the document appears to be smaller than the viewport. This is mostly noticeable in the navigation bar, which has a darker background that doesn't extend the full width of the viewport.

stats.nucleoid.xyz (iPhone 12 Pro)

Using position: fixed on the document container to force a full rect fixes the main layout being too small, but pushes navigation items off the right edge of the viewport:

stats.nucleoid.xyz with patched style (iPhone 12 Pro)

Restioson commented 2 years ago

Looks like its missing the magic viewport initial scale stuff meta tag?

Restioson commented 2 years ago

Nevermind, only one of the pages is (if you visit stats.nucleoid.xyz in http)