Make messages linkable in HTML (#864)

pull/867/head
Philipp C. Heckel 2 years ago committed by GitHub
parent 8d4e6b77c4
commit 0e49936e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,7 +125,7 @@
} }
@{/* Timestamp */} @{/* Timestamp */}
<span class="chatlog__timestamp">@FormatDate(message.Timestamp)</span> <span class="chatlog__timestamp"><a href="#chatlog__message-container-@message.Id">@FormatDate(message.Timestamp)</a></span>
</div> </div>
} }

@ -281,6 +281,10 @@
unicode-bidi: bidi-override; unicode-bidi: bidi-override;
} }
.chatlog__timestamp a {
color: @Themed("#a3a6aa", "#5e6772");
}
.chatlog__content { .chatlog__content {
padding-right: 1rem; padding-right: 1rem;
font-size: 0.95rem; font-size: 0.95rem;

Loading…
Cancel
Save