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_row: Pull .locally-echoed selectors out of .message_row stack.

Karl Stolleyb5f3702de047
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 7594517437e..6e2e33341e9 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -66,19 +66,6 @@
}
}
- /* Locally echoed messages. */
- &.locally-echoed .message-time {
- opacity: 0;
- /* Don't show pointer when message-time doesn't have a link. */
- cursor: default;
- }
-
- /* Show the spinner only for messages that are still locally echoed. */
- &.locally-echoed .slow-send-spinner {
- display: unset !important;
- cursor: default;
- }
-
/* Message-editing styles */
.message-edit-buttons-and-timer {
margin-top: 5px;
@@ -682,6 +669,19 @@ of the base style defined for a read-only textarea in dark mode. */
opacity: 1;
}
+/* Locally echoed messages. */
+.locally-echoed .message-time {
+ opacity: 0;
+ /* Don't show pointer when message-time doesn't have a link. */
+ cursor: default;
+}
+
+/* Show the spinner only for messages that are still locally echoed. */
+.locally-echoed .slow-send-spinner {
+ display: unset !important;
+ cursor: default;
+}
+
.recipient_row {
/* See https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class/8539107#8539107
for details on how this works */