Fix button display specificity

This commit is contained in:
Lim Chee Aun 2023-12-24 21:19:46 +08:00
parent 6dd54633e0
commit 60fdd3f522

View file

@ -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;