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.

settings: Fix text alignment in save and discard buttons.

Rishabh-79291a0e1477830
diff --git a/static/styles/settings.css b/static/styles/settings.css
index f7f6b3d8b13..3b86d569cb4 100644
--- a/static/styles/settings.css
+++ b/static/styles/settings.css
@@ -1076,6 +1076,7 @@ input[type="checkbox"] {
text-decoration: none;
color: hsl(0, 0%, 47%);
min-width: 80px;
+ /* Limit the height of the button */
line-height: 1.2;
vertical-align: text-bottom;
@@ -1118,6 +1119,11 @@ input[type="checkbox"] {
font-size: 15px;
font-weight: 500;
}
+
+ .save-discard-widget-button-text {
+ vertical-align: middle;
+ line-height: 1;
+ }
}
.save-button-controls {