From 213a00b475ef87264352edd3b258a1746ddbfd82 Mon Sep 17 00:00:00 2001 From: Jim Geersinga Date: Wed, 20 Mar 2024 16:29:56 +0100 Subject: [PATCH] add top border to rows --- .../Platforms/Windows/Package.appxmanifest | 2 +- NED.WoT.BattleResults.Client/Services/MapNameResolver.cs | 5 ++++- NED.WoT.BattleResults.Client/Services/TankNameResolver.cs | 5 ++++- NED.WoT.BattleResults.Client/wwwroot/css/app.css | 6 +++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/NED.WoT.BattleResults.Client/Platforms/Windows/Package.appxmanifest b/NED.WoT.BattleResults.Client/Platforms/Windows/Package.appxmanifest index 86bf0ca..8b8eb1b 100644 --- a/NED.WoT.BattleResults.Client/Platforms/Windows/Package.appxmanifest +++ b/NED.WoT.BattleResults.Client/Platforms/Windows/Package.appxmanifest @@ -6,7 +6,7 @@ xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap rescap"> - + diff --git a/NED.WoT.BattleResults.Client/Services/MapNameResolver.cs b/NED.WoT.BattleResults.Client/Services/MapNameResolver.cs index 6c28489..b32f81d 100644 --- a/NED.WoT.BattleResults.Client/Services/MapNameResolver.cs +++ b/NED.WoT.BattleResults.Client/Services/MapNameResolver.cs @@ -80,7 +80,10 @@ public static string GetMapName(string key) return name; } - UndefinedMapNames.Add(key); + if (!string.IsNullOrWhiteSpace(key)) + { + UndefinedMapNames.Add(key); + } return key; } diff --git a/NED.WoT.BattleResults.Client/Services/TankNameResolver.cs b/NED.WoT.BattleResults.Client/Services/TankNameResolver.cs index 3a463dd..7a7bba3 100644 --- a/NED.WoT.BattleResults.Client/Services/TankNameResolver.cs +++ b/NED.WoT.BattleResults.Client/Services/TankNameResolver.cs @@ -1448,7 +1448,10 @@ public static string GetTankName(string key) return name; } - UndefinedTankNames.Add(key); + if (!string.IsNullOrWhiteSpace(key)) + { + UndefinedTankNames.Add(key); + } return key; } diff --git a/NED.WoT.BattleResults.Client/wwwroot/css/app.css b/NED.WoT.BattleResults.Client/wwwroot/css/app.css index b07cb78..2b10262 100644 --- a/NED.WoT.BattleResults.Client/wwwroot/css/app.css +++ b/NED.WoT.BattleResults.Client/wwwroot/css/app.css @@ -264,4 +264,8 @@ a, .btn-link { display: inline-block; width: 75px; text-align: right; - } \ No newline at end of file + } + +.report-table .mud-table-body .match-info > td { + border-top: 1px solid var(--mud-palette-table-lines); +} \ No newline at end of file