summaryrefslogtreecommitdiffci
path: root/views/pages/global-map.html
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-05-16 13:18:08 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-05-16 13:18:08 +0700
commit44b72cbc80fb89788470bda75eeb9c0bb3dee2f5 (patch)
tree1dbc4e1ea6a85a31502c99cbf7bf9ba05b58e653 /views/pages/global-map.html
parent551295ecacebbb94019def022f70397f74c44775 (diff)
downloadweb-44b72cbc80fb89788470bda75eeb9c0bb3dee2f5.tar.gz
web-44b72cbc80fb89788470bda75eeb9c0bb3dee2f5.zip
feat: all color themes now have light & dark variations depending on preference
feat: color all leaflet elements depending on color theme & scheme feat: change font to m-plus for short description fix: theme wheel position on different dpi screens in global map
Diffstat (limited to 'views/pages/global-map.html')
-rw-r--r--views/pages/global-map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/pages/global-map.html b/views/pages/global-map.html
index a6dc006..788eac9 100644
--- a/views/pages/global-map.html
+++ b/views/pages/global-map.html
@@ -229,7 +229,6 @@
const themeWheel = document.getElementById("theme-wheel");
const themeButton = document.getElementById("sidebar-theme-button");
const themeIcons = document.querySelectorAll(".theme-icon");
- const themeWheelRadius = convertRemToPixels(6);
const THUMB_BASE = "{{ .ThumbnailBaseUrl }}";
themeIcons.forEach((icon) => {
@@ -294,6 +293,7 @@
const buttonRect = themeButton.getBoundingClientRect();
const buttonCenterX = buttonRect.left + buttonRect.width / 2;
const buttonCenterY = buttonRect.top + buttonRect.height / 2;
+ const themeWheelRadius = convertRemToPixels(6);
const margin = 0;