diff --git a/WebfrontCore/Views/Shared/_LeftNavBar.cshtml b/WebfrontCore/Views/Shared/_LeftNavBar.cshtml index 55b2dc58..c51f4f0d 100644 --- a/WebfrontCore/Views/Shared/_LeftNavBar.cshtml +++ b/WebfrontCore/Views/Shared/_LeftNavBar.cshtml @@ -88,18 +88,20 @@ @foreach (var social in ViewBag.CommunityInformation?.SocialAccounts ?? Array.Empty()) { - @if (!string.IsNullOrWhiteSpace(social.IconId)) - { - - } - else if (!string.IsNullOrWhiteSpace(social.IconUrl)) - { - var url = Uri.TryCreate(social.IconUrl, UriKind.Absolute, out Uri parsedUrl) - ? parsedUrl.AbsoluteUri - : $"/images/community/{social.IconUrl}"; - - } - @social.Title +
+ @if (!string.IsNullOrWhiteSpace(social.IconId)) + { + + } + else if (!string.IsNullOrWhiteSpace(social.IconUrl)) + { + var url = Uri.TryCreate(social.IconUrl, UriKind.Absolute, out Uri parsedUrl) + ? parsedUrl.AbsoluteUri + : $"/images/community/{social.IconUrl}"; + + } +
@social.Title
+
}
diff --git a/WebfrontCore/wwwroot/css/src/main.scss b/WebfrontCore/wwwroot/css/src/main.scss index 1bf08eda..dae96425 100644 --- a/WebfrontCore/wwwroot/css/src/main.scss +++ b/WebfrontCore/wwwroot/css/src/main.scss @@ -449,11 +449,10 @@ table.with-auto-width td { } img.social-icon { - max-height: 1.75rem; - margin-right: 0.6rem; - margin-top: 3px; + height: 1.6rem; } .sidebar-link .oi, .sidebar-link img { min-width: 1.2rem; + margin-right: 0.75rem; } diff --git a/WebfrontCore/wwwroot/images/community/discord.svg b/WebfrontCore/wwwroot/images/community/discord.svg index cd4cbc95..1c335e23 100644 --- a/WebfrontCore/wwwroot/images/community/discord.svg +++ b/WebfrontCore/wwwroot/images/community/discord.svg @@ -1 +1,64 @@ -discord-icon \ No newline at end of file + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/WebfrontCore/wwwroot/images/community/github.svg b/WebfrontCore/wwwroot/images/community/github.svg index caeea874..deb247f5 100644 --- a/WebfrontCore/wwwroot/images/community/github.svg +++ b/WebfrontCore/wwwroot/images/community/github.svg @@ -1 +1,15 @@ -GitHub \ No newline at end of file + + + + + + + +