Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Make the height of compose buttons steady.
vighneshbhat99456d6fa145ccef
diff --git a/web/styles/compose.css b/web/styles/compose.cssindex 903d822c8c9..0b0e2a48373 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -16,7 +16,7 @@& span {font-size: 1.2em !important;font-weight: 400;- line-height: 1em;+ line-height: var(--line-height-compose-buttons);}}}@@ -53,6 +53,7 @@border: none;background: var(--color-compose-embedded-button-background);border-radius: 3px;+ line-height: var(--line-height-compose-buttons);}#left_bar_compose_reply_button_big {@@ -93,6 +94,7 @@#new_conversation_button,.new_direct_message_button_container {flex-shrink: 0;+ line-height: var(--line-height-compose-buttons);@media (width < $sm_min) {/* Override inline style injected by jQuery hide() */diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex eb4006a07a3..228fa953549 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -172,6 +172,13 @@ body {*/--max-unexpanded-compose-height: 40vh;+ /*+ Line height of the message buttons in compose box. Here it's necessary+ to control this value uniformly and precisely to avoid issues with+ layout shifts originating with non-Latin characters in this area.+ */+ --line-height-compose-buttons: 20px;+/*Maximum height of the subscribers list in stream settings so thatit doesn't cause the container to have a second scrollbar.