Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-26 15:43:53 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-26 15:43:53 -0700
commitd3975d3fc519f21b670178a6e52c65edb75360a5 (patch)
tree630fdc53da38172545988d0487f8945b7c956130 /public/assets/css
parent59dfb8d697ebbe499eb00625a91ab2778e3c7534 (diff)
Fix counters radial dispersal when in grid-top
Diffstat (limited to 'public/assets/css')
-rw-r--r--public/assets/css/map.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/public/assets/css/map.css b/public/assets/css/map.css
index f5f9dae..461f72f 100644
--- a/public/assets/css/map.css
+++ b/public/assets/css/map.css
@@ -532,14 +532,15 @@ g.counter use[class^="counter-"] {
/* Counters placed on a hex */
[data-q][data-r][data-s][data-t]:hover > g.counter ~ use[class^="counter-"],
[data-q][data-r][data-s][data-t].hover > g.counter ~ use[class^="counter-"],
-.grid-top use[class^="counter-"] {
+.grid-top > g.counter ~ use[class^="counter-"] {
x: calc(var(--x) * 2);
y: calc(var(--y) * 2);
--translateY: -5px;
}
[data-q][data-r][data-s][data-t]:hover > use[class^="counter-"],
-[data-q][data-r][data-s][data-t].hover > use[class^="counter-"] {
+[data-q][data-r][data-s][data-t].hover > use[class^="counter-"],
+.grid-top > use[class^="counter-"] {
x: calc(var(--x) * 1.5);
y: calc(var(--y) * 1.5);
--translateY: -5px;