From 52b4167e479fbdb97cc8fccae94bd3a8c7b36a33 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 2 Oct 2021 16:03:33 -0600 Subject: [PATCH] Minor visual adjustments --- www/assets/js/main.js | 4 ++-- www/assets/js/map_maplibre.js | 2 +- www/pages/account.html | 4 ++-- www/pages/rates.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/www/assets/js/main.js b/www/assets/js/main.js index fa4cb88..a815b08 100644 --- a/www/assets/js/main.js +++ b/www/assets/js/main.js @@ -100,7 +100,7 @@ router.on("routeChange", function (newRoute) { function setAppTheme(theme) { if (theme == "light") { - $("#app").removeClass("theme-dark"); + $("body").removeClass("theme-dark"); if (platform_type == "cordova" && typeof StatusBar !== 'undefined') { StatusBar.styleDefault(); if (device.platform == "Android") { @@ -110,7 +110,7 @@ function setAppTheme(theme) { } } } else if (theme == "dark") { - $("#app").addClass("theme-dark"); + $("body").addClass("theme-dark"); if (platform_type == "cordova" && typeof StatusBar !== 'undefined') { StatusBar.styleLightContent(); StatusBar.backgroundColorByHexString("#000000"); diff --git a/www/assets/js/map_maplibre.js b/www/assets/js/map_maplibre.js index 5c3cdf2..fbe37ca 100644 --- a/www/assets/js/map_maplibre.js +++ b/www/assets/js/map_maplibre.js @@ -7,7 +7,7 @@ function maplibreMap(containerEl, interactive) { var theme = "liberty"; - if ($("#app").hasClass("theme-dark")) { + if ($("body").hasClass("theme-dark")) { theme = "libertydark"; } diff --git a/www/pages/account.html b/www/pages/account.html index b8509d4..189ec03 100644 --- a/www/pages/account.html +++ b/www/pages/account.html @@ -43,7 +43,7 @@
You have earned a total of

...

- +
@@ -128,7 +128,7 @@
-
-
Get Rates
+
 Get Rates
@@ -463,6 +463,6 @@ \ No newline at end of file