From 0b8c6ef9b13f81977efe77bc72bf06b2625fd635 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 1 Nov 2023 23:07:20 +0000 Subject: [PATCH] Fix disabled button pointer-events & cursor usage --- src/styles/_buttons.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/styles/_buttons.css b/src/styles/_buttons.css index dbd9bf87..d67c1bbf 100644 --- a/src/styles/_buttons.css +++ b/src/styles/_buttons.css @@ -37,11 +37,15 @@ a.btn { .btn.disabled, .btn[disabled] { cursor: not-allowed; - pointer-events: none; opacity: 0.6; box-shadow: none; } +.btn.disabled:active, +.btn[disabled]:active { + pointer-events: none; +} + .btn span { font-size: var(--font-size-mini); color: var(--text-color-light);