Fix styles for system notifications in HTML

pull/947/head
Tyrrrz 2 years ago
parent a80ee2943f
commit 4f41c4fff3

@ -73,7 +73,9 @@
@{/* System notification content */} @{/* System notification content */}
@if(message.Kind == MessageKind.ChannelPinnedMessage) @if(message.Kind == MessageKind.ChannelPinnedMessage)
{ {
<span class="chatlog__system-notification"> pinned</span><span class="chatlog__system-message-reference-link chatlog__reference-link" onclick="scrollToMessage(event, '@message.Reference?.MessageId')"> a message</span><span class="chatlog__system-message"> to this channel.</span> <span class="chatlog__system-notification"> pinned</span>
<span class="chatlog__system-notification-reference-link chatlog__reference-link" onclick="scrollToMessage(event, '@message.Reference?.MessageId')"> a message</span>
<span class="chatlog__system-notification"> to this channel.</span>
} }
else else
{ {

@ -255,12 +255,12 @@
} }
.chatlog__system-notification { .chatlog__system-notification {
color: @Themed("rgb(150, 152, 157)", "rgb(94, 103, 114)") color: @Themed("#96989d", "#5e6772")
} }
.chatlog__system-notification-reference-link { .chatlog__system-notification-reference-link {
font-weight: 500; font-weight: 500;
color: #ffffff color: @Themed("#ffffff", "#2f3136");
} }
.chatlog__system-notification-icon { .chatlog__system-notification-icon {

Loading…
Cancel
Save