message_feed_ui: Right align date separators.

Align the date separators in the message feed with the timestamps so
that all date information is easier to read top-down.
This commit is contained in:
Joseph Hughes 2022-10-12 01:03:08 +02:00 committed by Tim Abbott
parent d9874b1e2d
commit 90ace319d5
1 changed files with 22 additions and 6 deletions

View File

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