Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Use class selectors for textarea CSS.
Sahil Batra30689b410b36
diff --git a/web/styles/compose.css b/web/styles/compose.cssindex dd8b1927541..db1bd59dffc 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -472,12 +472,6 @@margin-bottom: calc((var(--compose-formatting-buttons-row-height) + 1px) * -1);-- textarea {- /* Flatten the bottom edge of the textarea to- merge with the flat top edge of the buttons row */- border-radius: 3px 3px 0 0;- }}#preview-message-area-container {diff --git a/web/styles/message_row.css b/web/styles/message_row.cssindex 529229795d5..868e8d299e7 100644--- a/web/styles/message_row.css+++ b/web/styles/message_row.css@@ -852,7 +852,9 @@resize: none !important;color: var(--color-text-default);background-color: hsl(0deg 0% 100%);- border-radius: 3px;+ /* Flatten the bottom edge of the textarea to+ merge with the flat top edge of the buttons row */+ border-radius: 3px 3px 0 0;vertical-align: middle;border: none;/* Match textarea padding to compose box anddiff --git a/web/styles/settings.css b/web/styles/settings.cssindex f8372d59f34..8c84c89aa3f 100644--- a/web/styles/settings.css+++ b/web/styles/settings.css@@ -832,7 +832,7 @@ input[type="checkbox"] {min-width: calc(var(--modal-input-width) - 6px);}- & textarea {+ .settings-textarea {/* Subtract 6px of padding from side */width: calc(var(--modal-input-width) - 12px);}@@ -1566,7 +1566,8 @@ label.preferences-radio-choice-label {.custom_user_field {padding-bottom: 20px;- & textarea {+ .settings-textarea,+ .modal-textarea {height: 80px;min-height: 2em;resize: vertical;@@ -1639,7 +1640,7 @@ label.preferences-radio-choice-label {& input,input[type="url"],- & textarea,+ .modal-textarea,& select {/* Override undesired Bootstrap default. */margin-bottom: 0;