Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Fix Add channel button relying on min-width for padding.
Shubham Padia4207c985b26c
diff --git a/web/styles/settings.css b/web/styles/settings.cssindex 0c04f866bb8..bc19eb2a86f 100644--- a/web/styles/settings.css+++ b/web/styles/settings.css@@ -771,9 +771,19 @@ input[type="checkbox"] {float: right;#show-add-default-streams-modal {- padding: 5px 0;- min-width: 100px;- margin-top: 11px;+ /* We want this button to have the same height as the filter+ button on its right. We're overriding the default vertical+ padding of `.new-style` and setting it to 0. Having the+ height fixed will mean that the vertical whitespace will+ adjust itself for different font-sizes without changing the+ height.+ */+ padding-top: 0;+ padding-bottom: 0;+ height: 30px;++ min-width: 0;+ margin-top: 12px;margin-right: 6px;}}