CactusPuppy / ow2countdown

A countdown to important dates and times for Overwatch 2
https://ow2countdown.com
23 stars 1 forks source link

fix: Use `width: 100%` instead of `width: 100vw` #66

Closed netux closed 1 year ago

netux commented 1 year ago

Fixes an issue where the screen gets a horizontal scrollbar when the screen overflows vertically because 100vw is calculated with the size of the vertical scrollbar, making the elements slightly wider than they should be.

before after

I wasn't able to test this locally, but I did the changes with DevTools in ow2countdown.com and replicated them in the code. Still, it might be wise to test locally before merging.

vercel[bot] commented 1 year ago

@netux is attempting to deploy a commit to the ow2countdown Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ow2countdown ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 9:22pm