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.

css: Centralize topic edit modal CSS.

Tim Abbott3e4a8197229d
diff --git a/static/styles/popovers.css b/static/styles/popovers.css
index 46550dcdee0..a828381d012 100644
--- a/static/styles/popovers.css
+++ b/static/styles/popovers.css
@@ -526,24 +526,37 @@ ul {
padding: 2px 0 3px 0;
}
-#topic_stream_edit_form_error {
- background-color: hsla(0, 70%, 87%, 0.7);
- color: hsl(0, 100%, 50%);
-}
+#move_topic_modal {
+ /* Ensure that the dropdown can overflow the modal. */
+ overflow: visible;
+ .modal-body {
+ overflow: visible;
+ }
-.topic_stream_edit_header {
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-start;
+ .stream_header_colorblock {
+ margin-bottom: 20px;
+ }
- #select_stream_id {
- border-left: 0;
- padding-left: 0;
- border-radius: 3px;
- margin: 0 5px 5px -10px;
- text-indent: 10px;
+ #topic_stream_edit_form_error {
+ background-color: hsla(0, 70%, 87%, 0.7);
+ color: hsl(0, 100%, 50%);
}
+
.inline_topic_edit {
margin-left: 5px !important;
}
+
+ .topic_stream_edit_header {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+
+ #select_stream_id {
+ border-left: 0;
+ padding-left: 0;
+ border-radius: 3px;
+ margin: 0 5px 5px -10px;
+ text-indent: 10px;
+ }
+ }
}
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 30504b8111f..93409be964f 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -2357,18 +2357,6 @@ div.topic_edit_spinner .loading_indicator_spinner {
max-height: 60vh;
}
-#move_topic_modal {
- /* Ensure that the dropdown can overflow the modal. */
- overflow: visible;
- .modal-body {
- overflow: visible;
- }
-
- .stream_header_colorblock {
- margin-bottom: 20px;
- }
-}
-
#invitee_emails {
min-height: 40px;
max-height: 300px;