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.

stream_settings: Add settings_select class to select elements.

Sahil Batra6bd650bc9fe5
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css
index ed11e2a8fd2..cd842dcf610 100644
--- a/static/styles/subscriptions.css
+++ b/static/styles/subscriptions.css
@@ -985,7 +985,7 @@ div.settings-radio-input-parent {
}
}
- select {
+ .settings_select {
/* Match .setting_desktop_icon_count_display */
width: 325px;
height: fit-content;
diff --git a/static/templates/stream_settings/stream_types.hbs b/static/templates/stream_settings/stream_types.hbs
index 5afae0a2c91..1d87ffd8c46 100644
--- a/static/templates/stream_settings/stream_types.hbs
+++ b/static/templates/stream_settings/stream_types.hbs
@@ -31,7 +31,7 @@
<label class="dropdown-title">{{t 'Who can post to the stream?'}}
{{> ../help_link_widget link="/help/stream-sending-policy" }}
</label>
- <select name="stream-post-policy" class="stream_post_policy_setting prop-element bootstrap-focus-style" id="id_stream_post_policy" data-setting-widget-type="number">
+ <select name="stream-post-policy" class="stream_post_policy_setting prop-element settings_select bootstrap-focus-style" id="id_stream_post_policy" data-setting-widget-type="number">
{{#each stream_post_policy_values}}
<option value="{{this.code}}" {{#if (eq this.code ../stream_post_policy) }}selected{{/if}}>
{{ this.description}}
@@ -59,7 +59,7 @@
{{> ../settings/upgrade_tip_widget}}
<select name="stream_message_retention_setting"
- class="stream_message_retention_setting prop-element bootstrap-focus-style"
+ class="stream_message_retention_setting prop-element settings_select bootstrap-focus-style"
id="id_message_retention_days"
data-setting-widget-type="message-retention-setting">
<option value="realm_default">{{#tr}}Use organization level settings {org_level_message_retention_setting}{{/tr}}</option>