Make button font size derive from CSS variable font-size

This commit is contained in:
Raymond Hill 2023-01-04 14:10:05 -05:00
parent 7dfadc1b00
commit 3e85e51dd2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ button {
color: var(--button-ink); color: var(--button-ink);
display: inline-flex; display: inline-flex;
fill: var(--button-ink); fill: var(--button-ink);
font-size: var(--font-size); font-size: max(calc(var(--font-size) * 0.875), 14px);
justify-content: center; justify-content: center;
min-height: 36px; min-height: 36px;
padding: 0 var(--font-size); padding: 0 var(--font-size);