info_density: Set calculated font-size on body.

This commit is contained in:
Karl Stolley 2024-06-07 11:15:41 -05:00 committed by Tim Abbott
parent 346dc7d79d
commit dc60317dad
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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. */