Repository navigation
Expand file tree
/
Copy pathdesktop.html
More file actions
83 lines (76 loc) · 2.11 KB
/
Copy pathdesktop.html
File metadata and controls
83 lines (76 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="misc/logo-white-bg-16.png" />
<title>Miden Wallet</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"
rel="stylesheet"
/>
<style>
/* Full height hierarchy for desktop */
html,
body,
#root {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
/* Text rendering improvements */
html {
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
background-color: #ffffff;
}
/* Desktop app should fill the window */
#root > div {
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
}
/* Override extension-specific fixed width/height classes */
.w-\[360px\],
.w-\[600px\],
.w-\[37\.5rem\],
.w-\[500px\] {
width: 100% !important;
max-width: 100% !important;
}
.max-w-\[360px\],
.max-w-\[600px\],
.max-w-\[500px\] {
max-width: 100% !important;
}
.h-\[600px\],
.h-\[640px\],
.h-\[40rem\] {
height: 100% !important;
}
.max-h-\[600px\],
.max-h-\[640px\] {
max-height: none !important;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/desktop-app.tsx"></script>
</body>
</html>