Normalize spaces before system notifications

pull/1001/head
Tyrrrz 2 years ago
parent 3b2c308a25
commit f99f1f4641

@ -92,6 +92,9 @@
@{/* Author name */}
<span class="chatlog__system-notification-author" style="@(userColor is not null ? $"color: rgb({userColor.Value.R}, {userColor.Value.G}, {userColor.Value.B})" : null)" title="@message.Author.FullName" data-user-id="@message.Author.Id">@userNick</span>
@{/* Space out the content */}
<span> </span>
@{/* System notification content */}
<span class="chatlog__system-notification-content">
@if (message.Kind == MessageKind.RecipientAdd && message.MentionedUsers.Any())
@ -142,7 +145,6 @@
}
else
{
<span> </span>
<span>@message.Content.ToLowerInvariant()</span>
}
</span>

Loading…
Cancel
Save