Fix button width

This commit is contained in:
2026-08-20 17:04:04 -06:00
parent bc433c8b1e
commit 8494f5a084
+5
View File
@@ -1093,6 +1093,11 @@ abbr[title] {
} }
.btn { .btn {
/* TODO: remove this scoped rule in favor of a global box-sizing reset
(e.g. `*, *::before, *::after { box-sizing: border-box; }`) at the top
of this file. Needed so `width: 100%` .btn elements like <a class="btn-full">
include padding within their width like <button> does. */
box-sizing: border-box;
padding: 0.6rem 1.2rem; padding: 0.6rem 1.2rem;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;