Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_box: Set vertical margin to interelement space.
Karl Stolley8556e098fb00
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 2c1e9f93c53..41067e56f1b 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -150,9 +150,13 @@--message-box-avatar-width: 35px;--message-box-avatar-height: var(--message-box-avatar-width);--message-box-avatar-column-width: 46px;- /* 6px appears to provide 5px of space between the avatar- and the selected-message outline, which is offset by -1px. */- --message-box-vertical-margin: 6px;+ /* Increase the margin here to account for the+ focus ring, which is is offset by -1px, as well+ as the vertical height between the hover icons+ and focus ring. */+ --message-box-vertical-margin: calc(+ var(--markdown-interelement-space-px) * 1.4+ );--message-box-markdown-aligned-vertical-space: var(--markdown-interelement-space-px);