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_feed_ui: Right align date separators.

Joseph Hughes90ace319d5a2
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index ea0355e1f97..414240dccc2 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -2540,12 +2540,12 @@ select.invite-as {
.sub-unsub-message,
.date_row {
- text-align: center;
padding-bottom: 10px;
}
.date_row {
padding-left: 2px;
+ text-align: right;
}
.sub-unsub-message span,
@@ -2562,6 +2562,10 @@ select.invite-as {
opacity: 0.6;
}
+.sub-unsub-message {
+ text-align: center;
+}
+
.sub-unsub-message span {
font-size: 1em;
text-transform: none;
@@ -2575,21 +2579,33 @@ select.invite-as {
position: relative;
content: " ";
vertical-align: middle;
- width: 50%;
height: 0;
opacity: 0.2;
border-bottom: 1px solid hsl(0, 0%, 0%);
}
.sub-unsub-message span::before,
+.sub-unsub-message span::after {
+ width: 50%;
+}
+
.date_row span::before {
- right: 0.5em;
- margin-left: -50%;
+ width: 100%;
}
-.sub-unsub-message span::after,
.date_row span::after {
- left: 0.5em;
+ width: 6px;
+ left: 0.25em;
+}
+
+.sub-unsub-message span::before,
+.date_row span::before {
+ right: 0.25em;
+ margin-left: -50%;
+}
+
+.sub-unsub-message span::after {
+ left: 0.25em;
margin-right: -50%;
}