Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Fix "line-height: inherit" values for textarea.

Sahil Batra39efe4e214ea
diff --git a/web/styles/compose.css b/web/styles/compose.css
index b103c43ab21..1d3fddf568c 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1079,7 +1079,7 @@ textarea.new_message_textarea {
box-shadow: none;
font-size: 1em;
- line-height: inherit;
+ line-height: var(--base-line-height-unitless);
font-family: "Source Sans 3 VF", sans-serif;
&:focus {
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index f0e98366fb6..9fa98072503 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -865,7 +865,7 @@
box-shadow: none;
font-size: 1em;
- line-height: inherit;
+ line-height: var(--base-line-height-unitless);
font-family: "Source Sans 3 VF", sans-serif;
&:focus {
diff --git a/web/styles/scheduled_messages.css b/web/styles/scheduled_messages.css
index 2f7a83ddcf1..b6fbfad5c2d 100644
--- a/web/styles/scheduled_messages.css
+++ b/web/styles/scheduled_messages.css
@@ -31,6 +31,6 @@
background-color: var(--background-color-textarea);
font-size: 1em;
- line-height: inherit;
+ line-height: var(--base-line-height-unitless);
font-family: "Source Sans 3 VF", sans-serif;
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index bdfa58690af..55423e635d9 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1782,7 +1782,7 @@ label.preferences-radio-choice-label {
box-shadow linear 0.2s;
font-size: 1em;
- line-height: inherit;
+ line-height: var(--base-line-height-unitless);
font-family: "Source Sans 3 VF", sans-serif;
&:focus {