Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_settings: Fix fonts & margins in create/edit stream form.
NerdyLucifer10e6fd04e728
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.cssindex 1b930d77a11..eb290c67cfc 100644--- a/static/styles/subscriptions.css+++ b/static/styles/subscriptions.css@@ -608,7 +608,7 @@ h4.stream_setting_subsection_title {}#announce-new-stream {- margin-top: 10px;+ margin: 25px auto;div[class^="fa"] {margin-left: 3px;@@ -1055,8 +1055,8 @@ h4.stream_setting_subsection_title {.radio-input-parent {border-bottom: 1px solid hsl(0, 0%, 87%);- margin: 5px 0 5px 5px;- padding: 5px 0;+ margin: 2px 0 2px 5px;+ padding: 2px 0;&:last-of-type {border-bottom: none;@@ -1076,11 +1076,16 @@ h4.stream_setting_subsection_title {}select {- width: auto;margin-bottom: 0;}}}++ select {+ /* Match .setting_desktop_icon_count_display */+ width: 325px;+ height: fit-content;+ }}.stream-creation-body input[type="radio"] {diff --git a/static/templates/stream_settings/stream_types.hbs b/static/templates/stream_settings/stream_types.hbsindex ab192e4d9f1..65ef737edb1 100644--- a/static/templates/stream_settings/stream_types.hbs+++ b/static/templates/stream_settings/stream_types.hbs@@ -1,8 +1,8 @@<div class="input-group stream-privacy-values"><div class="alert stream-privacy-status"></div>- <h4>{{t 'Who can access the stream?'}}+ <label>{{t 'Who can access the stream?'}}{{> ../help_link_widget link="/help/stream-permissions" }}- </h4>+ </label>{{#each stream_privacy_policy_values}}<div class="radio-input-parent"><label class="radio">@@ -25,7 +25,7 @@{{/if}}<div class="input-group">- <label>{{t 'Who can post to the stream?'}}+ <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">@@ -39,9 +39,9 @@{{#if (or is_owner is_stream_edit)}}<div>- <h4>{{t "Message retention for stream" }}+ <label class="stream-title">{{t "Message retention for stream" }}{{> ../help_link_widget link="/help/message-retention-policy" }}- </h4>+ </label>{{> ../settings/upgrade_tip_widget}}@@ -50,7 +50,7 @@<i class="fa fa-info-circle settings-info-icon stream_message_retention_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can change stream message retention policy.' }}"></i></div><select name="stream_message_retention_setting"- class="stream_message_retention_setting" class="prop-element"+ class="stream_message_retention_setting prop-element"{{#if disable_message_retention_setting}}disabled{{/if}}><option value="realm_default">{{#tr}}Use organization level settings {org_level_message_retention_setting}{{/tr}}</option><option value="unlimited">{{t 'Retain forever' }}</option>