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 */}
<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>
}
@ -462,4 +462,4 @@
</div>
</div>
}
</div>
</div>

@ -281,6 +281,10 @@
unicode-bidi: bidi-override;
}
.chatlog__timestamp a {
color: @Themed("#a3a6aa", "#5e6772");
}
.chatlog__content {
padding-right: 1rem;
font-size: 0.95rem;
@ -803,4 +807,4 @@
</div>
@{/* Preamble cuts off at this point */}
<div class="chatlog">
<div class="chatlog">

Loading…
Cancel
Save