From d083ba269eea3e9ff9cd13d48c90f6062d86ca13 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Mon, 12 Dec 2022 15:35:36 +0100 Subject: [PATCH] Buttons shouldn't react to clicks when disabled Counteract the border-width and margin set by :active in the rules for :disabled buttons. --- app/styles/input.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/styles/input.css b/app/styles/input.css index c30af88e..1bc4a789 100644 --- a/app/styles/input.css +++ b/app/styles/input.css @@ -243,6 +243,8 @@ textarea:disabled { :root:not(.noVNC_touch) button:disabled, :root:not(.noVNC_touch) select:disabled { background-image: linear-gradient(to top, rgb(255, 255, 255), rgb(240, 240, 240)); + border-bottom-width: 2px; + margin-top: 0; } input[type=file]:disabled { background-image: none;