mirror of https://github.com/zulip/zulip.git
tooltips: Make size of tooltips consistent.
Uses a variable for defining font-size on tooltips instead of `1em`.
This commit is contained in:
parent
b747bd4487
commit
d895ca287f
|
@ -13,7 +13,7 @@
|
||||||
background: hsl(0deg 0% 20%);
|
background: hsl(0deg 0% 20%);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
/* 14px at 14px/1em */
|
/* 14px at 14px/1em */
|
||||||
font-size: 1em;
|
font-size: var(--base-font-size-px);
|
||||||
/* 25px at 14px/1em */
|
/* 25px at 14px/1em */
|
||||||
min-height: 1.7857em;
|
min-height: 1.7857em;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
/* 14px at 14px/1em */
|
/* 14px at 14px/1em */
|
||||||
font-size: 1em;
|
font-size: var(--base-font-size-px);
|
||||||
/* 20px at 14px/1em */
|
/* 20px at 14px/1em */
|
||||||
line-height: 1.4286em;
|
line-height: 1.4286em;
|
||||||
/* Don't inherit font-weight when
|
/* Don't inherit font-weight when
|
||||||
|
|
Loading…
Reference in New Issue