Vitaly Rtishchev
Vitaly Rtishchev
Thanks for investigation, it is also an issue only on Windows – works correctly in Chrome on macos
Wrap child node with an extra element – https://codesandbox.io/s/rough-hooks-fne7y6?file=/src/App.tsx
Fixed in 5.1.5 – https://codesandbox.io/s/admiring-morning-56hcsb?file=/src/App.tsx
It will make border thinner than expected on screens with high dpi
Yeah, that might work for screens with high dpi, but I'm not sure if it will work correctly for regular screens. I've not explored much but we might need a...
I think it should be `0.5` for high dpi and `1` for low dpi
Not sure yet, let's have a look if it works correctly after you update a PR
I've updated media query to work correctly for high dpi, can you check that it works for low dpi?
Seems to be correct, thanks!
Thanks again, @ryuhangyeong!