fix views using quirks mode & non utf-8

This commit is contained in:
Vendicated
2025-11-03 20:41:33 +01:00
parent 9193ed58c9
commit f57245f297
6 changed files with 29 additions and 6 deletions

View File

@@ -31,8 +31,8 @@ export function createFirstLaunchTour() {
transparent: false, transparent: false,
frame: true, frame: true,
autoHideMenuBar: true, autoHideMenuBar: true,
height: 470, height: 550,
width: 550 width: 600
}); });
makeLinksOpenExternally(win); makeLinksOpenExternally(win);

View File

@@ -1,3 +1,6 @@
<!doctype html>
<meta charset="utf-8" />
<head> <head>
<title>About Vesktop</title> <title>About Vesktop</title>
@@ -63,7 +66,7 @@
</li> </li>
<li> <li>
<a href="https://github.com/electron-userland/electron-builder" target="_blank">Electron Builder</a> <a href="https://github.com/electron-userland/electron-builder" target="_blank">Electron Builder</a>
- A complete solution to package and build a ready for distribution Electron app with auto update - A complete solution to package and build a ready for distribution Electron app with "auto update"
support out of the box support out of the box
</li> </li>
<li> <li>

View File

@@ -9,11 +9,15 @@
--link-hover: light-dark(#005bb5, #0086c3); --link-hover: light-dark(#005bb5, #0086c3);
} }
html,
body {
margin: 0;
padding: 0;
}
body { body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
"Open Sans", "Helvetica Neue", sans-serif; "Open Sans", "Helvetica Neue", sans-serif;
margin: 0;
padding: 0;
background: var(--bg); background: var(--bg);
color: var(--fg); color: var(--fg);
} }

View File

@@ -1,3 +1,6 @@
<!doctype html>
<meta charset="utf-8" />
<head> <head>
<title>Vesktop Setup</title> <title>Vesktop Setup</title>

View File

@@ -1,7 +1,16 @@
<!doctype html>
<meta charset="utf-8" />
<head> <head>
<link rel="stylesheet" href="./common.css" type="text/css" /> <link rel="stylesheet" href="./common.css" type="text/css" />
<style> <style>
html,
body {
width: 100%;
height: 100%;
}
body { body {
background: none; background: none;
user-select: none; user-select: none;
@@ -10,8 +19,9 @@
} }
.wrapper { .wrapper {
box-sizing: border-box; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;

View File

@@ -1,3 +1,6 @@
<!doctype html>
<meta charset="utf-8" />
<head> <head>
<title>Vesktop Updater</title> <title>Vesktop Updater</title>
<meta http-equiv="Content-Security-Policy" content=" <meta http-equiv="Content-Security-Policy" content="