From 60fdd3f522e9d18fa626b9631ee8b4405c4d17bb Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 24 Dec 2023 21:19:46 +0800 Subject: [PATCH] Fix button display specificity --- src/index.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 09c0d609..19d7545e 100644 --- a/src/index.css +++ b/src/index.css @@ -203,7 +203,7 @@ textarea { max-width: 100%; } -button:not([hidden]), +button, .button { display: inline-block; padding: 8px 12px; @@ -216,6 +216,9 @@ button:not([hidden]), text-decoration: none; user-select: none; } +button[hidden] { + display: none !important; +} :is(button, .button) > * { vertical-align: middle; pointer-events: none;