Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-03-28 14:24:41 -0700
committerCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-03-28 14:24:41 -0700
commitc5bfc6cc17b87a519c3e9cdd3261f6c06babb524 (patch)
tree6347e92918dca1a9b5b3b707c561463ef365faf9
parent6122d612d432ccbb9c2b34e4e7eadeb8a057e1fb (diff)
Disallow selecting text in SVG text elements
-rw-r--r--style.css6
1 files changed, 5 insertions, 1 deletions
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 {