From d895ca287f3f46211a2a087936f3b4dc9c630048 Mon Sep 17 00:00:00 2001 From: Vector73 Date: Sat, 13 Jul 2024 16:27:25 +0530 Subject: [PATCH] tooltips: Make size of tooltips consistent. Uses a variable for defining font-size on tooltips instead of `1em`. --- web/styles/tooltips.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/styles/tooltips.css b/web/styles/tooltips.css index 9787e82b84..e3daf50588 100644 --- a/web/styles/tooltips.css +++ b/web/styles/tooltips.css @@ -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