From 9986a8a8147abb5259eda65a810b3d7efbecf003 Mon Sep 17 00:00:00 2001 From: librelad Date: Tue, 2 Jun 2026 16:21:39 +0100 Subject: [PATCH] fix(webui): stop rapid clicks selecting text on setup level cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: librelad --- .../libreportal/frontend/core/setup/css/setup-wizard.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/containers/libreportal/frontend/core/setup/css/setup-wizard.css b/containers/libreportal/frontend/core/setup/css/setup-wizard.css index cf5ea6f..cf7e30d 100755 --- a/containers/libreportal/frontend/core/setup/css/setup-wizard.css +++ b/containers/libreportal/frontend/core/setup/css/setup-wizard.css @@ -1077,6 +1077,9 @@ body.setup-wizard-open { cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease; 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 { position: absolute;