tooltips: Make size of tooltips consistent.

Uses a variable for defining font-size on tooltips instead of `1em`.
This commit is contained in:
Vector73 2024-07-13 16:27:25 +05:30 committed by Tim Abbott
parent b747bd4487
commit d895ca287f
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
background: hsl(0deg 0% 20%);
border-radius: 5px;
/* 14px at 14px/1em */
font-size: 1em;
font-size: var(--base-font-size-px);
/* 25px at 14px/1em */
min-height: 1.7857em;
box-sizing: border-box;
@ -24,7 +24,7 @@
align-items: center;
padding: 5px 10px;
/* 14px at 14px/1em */
font-size: 1em;
font-size: var(--base-font-size-px);
/* 20px at 14px/1em */
line-height: 1.4286em;
/* Don't inherit font-weight when