Make messages linkable in HTML (#864)

This commit is contained in:
Philipp C. Heckel 2022-06-09 12:47:00 -04:00 committed by GitHub
parent 8d4e6b77c4
commit 0e49936e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -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>
} }

View file

@ -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;