-
@@ -189,15 +184,10 @@ function send(md) {
}
.contact-msg {
- max-width: 85%;
- margin: 0.45rem 0;
- padding: 0.35rem 0.6rem;
- border-radius: 0.6rem;
- background: color-mix(var(--muted) 12%, transparent);
+ padding: 0.55rem 0;
}
-.contact-msg.mine {
- margin-left: auto;
- background: color-mix(var(--accent) 16%, transparent);
+.contact-msg + .contact-msg {
+ border-top: 1px solid var(--line);
}
.contact-msg-body {
overflow-wrap: break-word;
@@ -218,24 +208,24 @@ function send(md) {
text-decoration: none;
white-space: nowrap;
}
-.contact-msg footer {
+.contact-msg header {
display: flex;
gap: 0.5rem;
- justify-content: flex-end;
align-items: baseline;
color: var(--muted);
font-size: 0.75rem;
}
-.contact-msg footer .who {
+.contact-msg header .who {
font-weight: 600;
+ color: var(--text, CanvasText);
}
-.contact-msg footer .page {
+.contact-msg header .page {
color: var(--muted);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
-.contact-msg footer .page:hover {
+.contact-msg header .page:hover {
color: var(--accent);
}