vuetify-nuxt-module icon indicating copy to clipboard operation
vuetify-nuxt-module copied to clipboard

fix(ssr): include device pixel ratio in w/h calculation

Open userquin opened this issue 1 year ago • 1 comments

There is a problem with Chrome running on Android, sending weird viewport size.

We need to request device pixel ratio (Sec-CH-DPR) to calculate the right width/height.

https://github.com/WICG/responsive-image-client-hints/issues/23

https://twitter.com/userquin/status/1760047138762064277

Using Samsumg Galaxy S22 Ultra:

GGzwwW1awAASbQt

related #197

userquin avatar Feb 20 '24 19:02 userquin

Deploy Preview for vuetify-nuxt-module ready!

Name Link
Latest commit 60ad8005305f03aac42fc0526c4f0a748cf884ac
Latest deploy log https://app.netlify.com/sites/vuetify-nuxt-module/deploys/669cbfea96b66b0009f4f751
Deploy Preview https://deploy-preview-199--vuetify-nuxt-module.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 20 '24 20:02 netlify[bot]