Set minimum size for buttons

This commit is contained in:
Freeplay 2023-05-21 14:11:45 -04:00
parent a39cc89ac7
commit 20556ad3b1

View File

@ -111,11 +111,12 @@ function onMousedown(evt: MouseEvent): void {
z-index: 1; // box-shadow
display: block;
min-width: 100px;
min-height: 35px;
width: max-content;
padding: 8px 16px;
text-align: center;
font-weight: normal;
font-size: 1em;
font-size: max(12px, 1em);
box-shadow: none;
text-decoration: none;
background: var(--buttonBg);
@ -193,7 +194,7 @@ function onMousedown(evt: MouseEvent): void {
&.mini {
padding: 4px 8px;
font-size: 0.9em;
font-size: max(12px, .9em);
border-radius: 100px;
}