From 30e9f18aa6007282d0544001d71b18d7bd68852a Mon Sep 17 00:00:00 2001 From: Catalin Constantin Mititiuc Date: Mon, 16 Jun 2025 22:41:28 -0700 Subject: [PATCH] Disallow selecting text in SVG text elements --- style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index b1a581a..c53f289 100644 --- a/style.css +++ b/style.css @@ -14,6 +14,10 @@ svg { /* max-height: 100vw; */ } +svg text { + user-select: none; +} + div#content { border-left: 1px solid gray; flex-basis: 0; @@ -182,7 +186,7 @@ img.logo { } div.soldier-record.selected { - background-color: lightgray; + background-color: khaki; } rect#debug-view-box {