diff --git a/src/renderer/App.jsx b/src/renderer/App.jsx index 4847245..739bef2 100644 --- a/src/renderer/App.jsx +++ b/src/renderer/App.jsx @@ -40,6 +40,16 @@ const imageMap = { whatthedub: whatTheDubImage, }; +// Fix Windows scaling +document + .querySelector('meta[name=viewport]') + .setAttribute( + 'content', + 'width=device-width, initial-scale=' + + 1 / window.devicePixelRatio + + ', maximum-scale=1.0, user-scalable=0' + ); + let App = (props) => { const navigate = useNavigate(); const location = useLocation(); diff --git a/src/renderer/index.ejs b/src/renderer/index.ejs index 6e45353..006bcd2 100644 --- a/src/renderer/index.ejs +++ b/src/renderer/index.ejs @@ -1,6 +1,7 @@ +