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.

dropdown_widget_label: Add wrapper around `dropdown_widget`.

roanster007fc5a5c71132a
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 6f08acef047..764a35c08f8 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1144,6 +1144,10 @@ div.overlay {
}
}
+.dropdown_widget_with_label_wrapper {
+ margin-top: 0 !important;
+}
+
.dropdown-current-value-not-in-options,
.setting-disabled-option {
color: hsl(38deg 46% 54%);
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 6118ed648f0..30c56b70c3d 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -1069,6 +1069,11 @@ div.settings-radio-input-parent {
}
}
+.group-permissions .dropdown_widget_with_label_wrapper {
+ display: inline-block;
+ height: 30px;
+}
+
#stream-advanced-configurations {
.dropdown-widget-button {
color: hsl(0deg 0% 33%);
diff --git a/web/templates/dropdown_widget_with_label.hbs b/web/templates/dropdown_widget_with_label.hbs
index a659ebe4351..8007822efc6 100644
--- a/web/templates/dropdown_widget_with_label.hbs
+++ b/web/templates/dropdown_widget_with_label.hbs
@@ -3,5 +3,7 @@
{{#if help_link}}{{> help_link_widget link=help_link }}{{/if}}
</label>
<span class="prop-element hide" id="id_{{widget_name}}" data-setting-widget-type="dropdown-list-widget" {{#if value_type}}data-setting-value-type="{{value_type}}"{{/if}}></span>
- {{> dropdown_widget}}
+ <div class="dropdown_widget_with_label_wrapper">
+ {{> dropdown_widget}}
+ </div>
</div>