fix: highlight all polygons on hover for multi-path countries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 15:24:01 +01:00
parent b52216bd2f
commit 52310f588d
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ import (
"git.t-juice.club/torjus/oubliette/internal/web" "git.t-juice.club/torjus/oubliette/internal/web"
) )
const Version = "0.14.1" const Version = "0.14.2"
func main() { func main() {
if err := run(); err != nil { if err := run(); err != nil {

View File

@@ -38,7 +38,7 @@
} }
#world-map svg { width: 100%; height: auto; } #world-map svg { width: 100%; height: auto; }
#world-map svg path { fill: #2a2a3e; stroke: #555; stroke-width: 0.5; transition: fill 0.2s; } #world-map svg path { fill: #2a2a3e; stroke: #555; stroke-width: 0.5; transition: fill 0.2s; }
#world-map svg path:hover { stroke: #fff; stroke-width: 1; } #world-map svg path:hover, #world-map svg g:hover path { stroke: #fff; stroke-width: 1; }
nav h1 { nav h1 {
margin: 0; margin: 0;
} }