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.

message_editing: Fix topic edit propagate option cut-off.

Parthe3ddd662ab18
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 1aae23a1c64..3dd95f877f4 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -1531,6 +1531,7 @@ div.focused_table {
#message_edit_topic {
margin: 0 5px 5px 0;
+ width: auto;
}
.message_edit_header {
@@ -1554,8 +1555,7 @@ div.focused_table {
}
.message_edit_topic_propagate {
- display: inline-block;
- width: 300px;
+ width: auto;
margin-bottom: 5px !important;
max-width: 100%;
}
@@ -2571,8 +2571,9 @@ div.topic_edit_spinner .loading_indicator_spinner {
border-radius: 1px 4px 4px 1px !important;
}
+ .dropdown-list-widget,
.stream_header_colorblock {
- margin-bottom: 20px;
+ margin-bottom: 10px;
}
textarea {
diff --git a/static/templates/message_edit_form.hbs b/static/templates/message_edit_form.hbs
index bb7c2d2fb55..29c89ee31b2 100644
--- a/static/templates/message_edit_form.hbs
+++ b/static/templates/message_edit_form.hbs
@@ -29,12 +29,12 @@
{{t "Send notification to old topic" }}
</label>
</div>
- <select class='message_edit_topic_propagate' style='display:none;'>
- <option selected="selected" value="change_later"> {{t "Change later messages to this topic" }}</option>
- <option value="change_one"> {{t "Change only this message topic" }}</option>
- <option value="change_all"> {{t "Change previous and following messages to this topic" }}</option>
- </select>
</div>
+ <select class='message_edit_topic_propagate' style='display:none;'>
+ <option selected="selected" value="change_later"> {{t "Change later messages to this topic" }}</option>
+ <option value="change_one"> {{t "Change only this message topic" }}</option>
+ <option value="change_all"> {{t "Change previous and following messages to this topic" }}</option>
+ </select>
</div>
</div>
{{/if}}