From b7e3f710b622fef1721aae2dd6840b7c42aeadd7 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 8 Jul 2019 16:12:33 -0700 Subject: [PATCH] css: Specify message_content line-height in relative units. This fixes (or at least reduces) a problem with inline `code blocks` causing extra uneven vertical space below their line. The absolute line-height was being measured relative to the lower midline of the smaller font-size in the code blocks. Signed-off-by: Anders Kaseorg --- static/styles/zulip.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss index 393b1bbcf5..9e269d8623 100644 --- a/static/styles/zulip.scss +++ b/static/styles/zulip.scss @@ -1254,7 +1254,7 @@ div.focused_table { } .message_content { - line-height: 17px; + line-height: 1.214; min-height: 17px; font-size: 14px; margin-left: 46px;