popovers: Scale font-size consistently (15px at 14px em).

This commit is contained in:
evykassirer
2025-02-18 12:42:05 -08:00
committed by Tim Abbott
parent ceca2d1e26
commit 67ba364d67

View File

@@ -80,9 +80,7 @@
border: 1px solid var(--color-border-popover-menu);
border-radius: 6px;
box-shadow: var(--box-shadow-popover-menu);
/* Popover menus should scale no smaller than 15px,
but scale up with the base font-size. */
font-size: max(15px, var(--base-font-size-px));
font-size: 1.0714em; /* 15px at 14px em */
> .tippy-content {
padding: 0;