06-14-2023, 05:01 PM
The viewport size reported in the popup comes from scripts-panels.js
I just go with 799 x 499 or 443 to construct the media query for the 7" touch since thats the viewport size reported by chromium-browser using the code above.
The same technique also works for the mobile, ultra-wide and other media queries.
Code:
notify('viewport', window.innerWidth + 'x' + window.innerHeight
I just go with 799 x 499 or 443 to construct the media query for the 7" touch since thats the viewport size reported by chromium-browser using the code above.
The same technique also works for the mobile, ultra-wide and other media queries.