Skip to content

Commit

Permalink
Make button font size derive from CSS variable font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 4, 2023
1 parent 7dfadc1 commit 3e85e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/css/common.css
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ button {
color: var(--button-ink);
display: inline-flex;
fill: var(--button-ink);
font-size: var(--font-size);
font-size: max(calc(var(--font-size) * 0.875), 14px);
justify-content: center;
min-height: 36px;
padding: 0 var(--font-size);

0 comments on commit 3e85e51

Please sign in to comment.