From 4880eeb66d69e9e80039d94c82c5820dca34ffa5 Mon Sep 17 00:00:00 2001 From: Adrian Gruntkowski Date: Sun, 1 Dec 2024 15:38:42 +0100 Subject: [PATCH] Fix remove button visibility triggering on touchscreen UIs --- priv/static/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/priv/static/style.css b/priv/static/style.css index 827738a..9ae576e 100644 --- a/priv/static/style.css +++ b/priv/static/style.css @@ -133,7 +133,13 @@ task-list-item .remove { visibility: hidden; } -task-list-item:hover .remove { +@media (hover: hover) and (pointer: fine) { + task-list li:hover .remove { + visibility: visible; + } +} + +task-list-item .remove:has(button:active) { visibility: visible; }