From f57245f297c972de7f1ee1e0707305d7f5c7f7dc Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 3 Nov 2025 20:41:33 +0100 Subject: [PATCH] fix views using quirks mode & non utf-8 --- src/main/firstLaunch.ts | 4 ++-- static/views/about.html | 5 ++++- static/views/common.css | 8 ++++++-- static/views/first-launch.html | 3 +++ static/views/splash.html | 12 +++++++++++- static/views/updater/index.html | 3 +++ 6 files changed, 29 insertions(+), 6 deletions(-) diff --git a/src/main/firstLaunch.ts b/src/main/firstLaunch.ts index f95c47f..689f9bc 100644 --- a/src/main/firstLaunch.ts +++ b/src/main/firstLaunch.ts @@ -31,8 +31,8 @@ export function createFirstLaunchTour() { transparent: false, frame: true, autoHideMenuBar: true, - height: 470, - width: 550 + height: 550, + width: 600 }); makeLinksOpenExternally(win); diff --git a/static/views/about.html b/static/views/about.html index 5a49f35..02688df 100644 --- a/static/views/about.html +++ b/static/views/about.html @@ -1,3 +1,6 @@ + + + About Vesktop @@ -63,7 +66,7 @@
  • Electron Builder - - 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
  • diff --git a/static/views/common.css b/static/views/common.css index 622fb6e..3b1468d 100644 --- a/static/views/common.css +++ b/static/views/common.css @@ -9,11 +9,15 @@ --link-hover: light-dark(#005bb5, #0086c3); } +html, +body { + margin: 0; + padding: 0; +} + body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; - margin: 0; - padding: 0; background: var(--bg); color: var(--fg); } diff --git a/static/views/first-launch.html b/static/views/first-launch.html index ff89529..85265f0 100644 --- a/static/views/first-launch.html +++ b/static/views/first-launch.html @@ -1,3 +1,6 @@ + + + Vesktop Setup diff --git a/static/views/splash.html b/static/views/splash.html index c517f38..9290da0 100644 --- a/static/views/splash.html +++ b/static/views/splash.html @@ -1,7 +1,16 @@ + + +