From 26853a0005ecf2428500833d65bda1a8421d7652 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Thu, 2 Jun 2022 18:16:54 -0500 Subject: [PATCH] fix issue with player name spacing on server overview at certain resolutions --- .../Views/Server/_ClientActivity.cshtml | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/WebfrontCore/Views/Server/_ClientActivity.cshtml b/WebfrontCore/Views/Server/_ClientActivity.cshtml index 42b89707d..daba2e091 100644 --- a/WebfrontCore/Views/Server/_ClientActivity.cshtml +++ b/WebfrontCore/Views/Server/_ClientActivity.cshtml @@ -22,10 +22,10 @@ } } -
+
@if (groupedClients.Count > 0) { -
+
@foreach (var chat in Model.ChatHistory) { var message = chat.IsHidden && !ViewBag.Authorized ? chat.HiddenMessage : chat.Message; @@ -33,7 +33,6 @@
- @@ -47,36 +46,34 @@ }
- } -
+
} -
- +
@foreach (var clientIndex in groupedClients) { -
+
@foreach (var client in clientIndex.group) { var levelColorClass = !ViewBag.Authorized || client.client.LevelInt == 0 ? "text-light-dm text-dark-lm" : $"level-color-{client.client.LevelInt}"; - } - @if (groupedClients.Count > 0) - { -
- } + @if (groupedClients.Count > 0) + { +
+ }