fix(webui): stop rapid clicks selecting text on setup level cards

The Beginner/Advanced experience cards are tap targets, but had no
user-select guard. Rapid clicking — notably the Advanced card's 10-tap
dev-mode unlock — selected the card title/description text as a side
effect. Add user-select: none to .setup-level-card.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
librelad 2026-06-02 16:21:39 +01:00
parent 11e79e6d81
commit 9986a8a814

View File

@ -1077,6 +1077,9 @@ body.setup-wizard-open {
cursor: pointer; cursor: pointer;
transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease; transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
display: block; display: block;
/* Tap targets, not text keep rapid/double clicks (e.g. the Advanced
card's 10-tap dev unlock) from selecting the title/description. */
user-select: none;
} }
.setup-level-card input { .setup-level-card input {
position: absolute; position: absolute;