Fixed Issue with menu Icon Spacing. #1160

This commit is contained in:
Leigh Pointer 2021-03-05 15:31:38 +01:00
parent 541bd5a279
commit 13b45453c6

View File

@ -8,14 +8,14 @@
{ {
if (childPage.PageId == PageState.Page.PageId) if (childPage.PageId == PageState.Page.PageId)
{ {
<a class="dropdown-item active" href="@GetUrl(childPage)" target="@GetTarget(childPage)"> <a class="nav-link active px-3" href="@GetUrl(childPage)" target="@GetTarget(childPage)">
<FontIcon Value="@childPage.Icon" /> <FontIcon Value="@childPage.Icon" />
@childPage.Name <span class="sr-only">(current)</span> @childPage.Name <span class="sr-only">(current)</span>
</a> </a>
} }
else else
{ {
<a class="dropdown-item" href="@GetUrl(childPage)" target="@GetTarget(childPage)"> <a class="nav-link px-3" href="@GetUrl(childPage)" target="@GetTarget(childPage)">
<FontIcon Value="@childPage.Icon" /> <FontIcon Value="@childPage.Icon" />
@childPage.Name @childPage.Name
</a> </a>