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.

msg_edit_form: Show checkboxes in separate lines if present.

Aman Agrawalc947be541143
diff --git a/static/styles/app_components.scss b/static/styles/app_components.scss
index 0d7bd0f9a1a..23fb0fda0e6 100644
--- a/static/styles/app_components.scss
+++ b/static/styles/app_components.scss
@@ -9,6 +9,13 @@
justify-content: center;
}
+/* Inserting this collapsed row between two flex items will make
+ * the flex item that comes after it break to a new row */
+.break-row {
+ flex-basis: 100%;
+ height: 0;
+}
+
.hide {
display: none;
}
diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss
index aebae9d642a..c3aa2d9cb94 100644
--- a/static/styles/zulip.scss
+++ b/static/styles/zulip.scss
@@ -1350,9 +1350,9 @@ div.focused_table {
.topic_move_breadcrumb_messages,
.message_edit_breadcrumb_messages {
- display: inline-block;
margin: 0 5px 5px 0 !important;
align-self: center;
+ width: 100%;
label.checkbox {
margin-right: 0 !important;
diff --git a/static/templates/message_edit_form.hbs b/static/templates/message_edit_form.hbs
index 9a9a2ace41d..7a56998f377 100644
--- a/static/templates/message_edit_form.hbs
+++ b/static/templates/message_edit_form.hbs
@@ -24,6 +24,7 @@
<span></span>
</label>
<label for="send_notification_to_new_thread">{{t "Send notification to new topic" }}</label>
+ <div class="break-row"></div> <!-- break -->
<label class="checkbox">
<input class="send_notification_to_old_thread" name="send_notification_to_old_thread" type="checkbox" {{#if notify_old_thread}}checked="checked"{{/if}}>
<span></span>