We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e0b3d commit b977f2dCopy full SHA for b977f2d
src/renderer/App.jsx
@@ -40,6 +40,16 @@ const imageMap = {
40
whatthedub: whatTheDubImage,
41
};
42
43
+// Fix Windows scaling
44
+document
45
+ .querySelector('meta[name=viewport]')
46
+ .setAttribute(
47
+ 'content',
48
+ 'width=device-width, initial-scale=' +
49
+ 1 / window.devicePixelRatio +
50
+ ', maximum-scale=1.0, user-scalable=0'
51
+ );
52
+
53
let App = (props) => {
54
const navigate = useNavigate();
55
const location = useLocation();
src/renderer/index.ejs
@@ -1,6 +1,7 @@
1
<!DOCTYPE html>
2
<html>
3
<head>
4
+ <meta name="viewport" />
5
<meta charset="utf-8" />
6
<meta
7
http-equiv="Content-Security-Policy"
0 commit comments