From 52310f588d8d78391de677a655d3396ed987b582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 17 Feb 2026 15:24:01 +0100 Subject: [PATCH] fix: highlight all polygons on hover for multi-path countries Co-Authored-By: Claude Opus 4.6 --- cmd/oubliette/main.go | 2 +- internal/web/templates/layout.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/oubliette/main.go b/cmd/oubliette/main.go index 38bdbed..2b854f1 100644 --- a/cmd/oubliette/main.go +++ b/cmd/oubliette/main.go @@ -20,7 +20,7 @@ import ( "git.t-juice.club/torjus/oubliette/internal/web" ) -const Version = "0.14.1" +const Version = "0.14.2" func main() { if err := run(); err != nil { diff --git a/internal/web/templates/layout.html b/internal/web/templates/layout.html index aa413f3..dbdac10 100644 --- a/internal/web/templates/layout.html +++ b/internal/web/templates/layout.html @@ -38,7 +38,7 @@ } #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:hover { stroke: #fff; stroke-width: 1; } + #world-map svg path:hover, #world-map svg g:hover path { stroke: #fff; stroke-width: 1; } nav h1 { margin: 0; }