mirror of https://github.com/zulip/zulip.git
info_density: Set calculated font-size on body.
This commit is contained in:
parent
346dc7d79d
commit
dc60317dad
|
@ -169,7 +169,9 @@
|
|||
*/
|
||||
padding: var(--message-box-markdown-aligned-vertical-space) 0 0;
|
||||
color: var(--color-text-message-default);
|
||||
font-size: var(--base-font-size-px);
|
||||
/* We explicitly set line-height here so that
|
||||
the message area is not beholden to the legacy
|
||||
`max()` declaration on `body`. */
|
||||
line-height: var(--base-line-height-unitless);
|
||||
min-height: 17px;
|
||||
display: block;
|
||||
|
|
|
@ -23,7 +23,7 @@ body {
|
|||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
font-size: var(--base-font-size-px);
|
||||
/* The line-height used in most of the UI should be at least
|
||||
its legacy value, but should expand with larger base
|
||||
line-height values. */
|
||||
|
|
Loading…
Reference in New Issue