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 .date_row out of nested selectors.

Karl Stolley5851cdcca3fc
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 6b46ac7da05..6a8559eb327 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -53,24 +53,6 @@
}
}
- .date_row {
- grid-area: date_row;
- /* We only want padding for the date rows between recipient blocks */
- padding-bottom: 0;
-
- & span {
- font-size: calc(12em / 14);
- font-style: normal;
- font-weight: 600;
- line-height: 17px; /* identical to box height, or 131% */
- text-align: right;
- letter-spacing: 0.04em;
- color: var(--color-date);
- /* Right padding matches time in message row and date in recipient row. */
- padding: 8px 6px 8px 4px;
- }
- }
-
.unread_marker {
margin-left: var(--unread-marker-left);
opacity: 0;
@@ -721,3 +703,21 @@ of the base style defined for a read-only textarea in dark mode. */
}
}
}
+
+.date_row {
+ grid-area: date_row;
+ /* We only want padding for the date rows between recipient blocks */
+ padding-bottom: 0;
+
+ & span {
+ font-size: calc(12em / 14);
+ font-style: normal;
+ font-weight: 600;
+ line-height: 17px; /* identical to box height, or 131% */
+ text-align: right;
+ letter-spacing: 0.04em;
+ color: var(--color-date);
+ /* Right padding matches time in message row and date in recipient row. */
+ padding: 8px 6px 8px 4px;
+ }
+}