From ce0e02adedb340e102b6bd8b7ae42985a23a4169 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Sun, 6 Dec 2026 11:17:12 +0000 Subject: [PATCH] Stop the stacks' tool names from being selected by a drag --- index.html | 2 +- styles.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 558b95f..dd5b784 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@ - + diff --git a/styles.css b/styles.css index 7bd1241..d282685 100644 --- a/styles.css +++ b/styles.css @@ -144,7 +144,7 @@ h1 { margin: 0; max-width: 11ch; font-size: clamp(44px, 5.4vw, 80px); line-heigh /* Two stacks, batch and streaming: each a canvas drawing plus one real link per layer laid over it. */ .stacks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 620px; justify-self: center; } -.stack-visual { position: relative; aspect-ratio: 10 / 11; } +.stack-visual { position: relative; aspect-ratio: 10 / 11; -webkit-user-select: none; user-select: none; } .stack-caption { position: absolute; top: var(--caption-y, 86%); left: 0; right: 0; margin: 0; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-align: center; text-transform: uppercase; transition: opacity .2s ease; } .stack-visual:has(a.is-active) .stack-caption { opacity: 0; } .stack-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }