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_edit: Expand breadcrumb checkbox spacing in topic edit UI.

anurastogiji5de556cbc8bf
diff --git a/static/styles/app_components.css b/static/styles/app_components.css
index d486563af16..c15960c366c 100644
--- a/static/styles/app_components.css
+++ b/static/styles/app_components.css
@@ -9,13 +9,6 @@
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.css b/static/styles/zulip.css
index 0cd2845231a..ce9d34ee121 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -1581,12 +1581,16 @@ div.focused_table {
white-space: nowrap;
label.checkbox {
- margin-right: 0 !important;
-
+ /* Place the checkboxes on their own lines. */
+ display: block;
input {
margin: 0;
vertical-align: baseline;
}
+
+ & + label.checkbox {
+ margin-top: 10px;
+ }
}
label {
@@ -1595,10 +1599,6 @@ div.focused_table {
}
}
-.topic_move_breadcrumb_messages {
- margin-top: 10px !important;
-}
-
.message_length_controller {
display: none;
text-align: center;
diff --git a/static/templates/message_edit_form.hbs b/static/templates/message_edit_form.hbs
index ca731da82fa..411b2d8a980 100644
--- a/static/templates/message_edit_form.hbs
+++ b/static/templates/message_edit_form.hbs
@@ -23,7 +23,6 @@
<span></span>
{{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>
diff --git a/static/templates/move_topic_to_stream.hbs b/static/templates/move_topic_to_stream.hbs
index a02040bb1bd..53f7e76bd45 100644
--- a/static/templates/move_topic_to_stream.hbs
+++ b/static/templates/move_topic_to_stream.hbs
@@ -28,7 +28,6 @@
<span></span>
{{t "Send notification to new topic" }}
</label>
- <br/>
<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>