Skip to content

Commit

Permalink
style page names in Admin Dashboard so that they are always visible i…
Browse files Browse the repository at this point in the history
…n Bootstrap themes
  • Loading branch information
sbwalker committed Sep 27, 2023
1 parent 9e2fa8d commit bd987e9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Oqtane.Client/Modules/Admin/Dashboard/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
if (UserSecurity.IsAuthorized(PageState.User, PermissionNames.View, p.PermissionList))
{
string url = NavigateUrl(p.Path);
<div class="col-md-2 mx-auto text-center mb-3">
<p class="col-md-2 mx-auto text-center mb-3">
<NavLink class="nav-link text-primary" href="@url" Match="NavLinkMatch.All">
<h2><span class="@p.Icon" aria-hidden="true"></span></h2>@SharedLocalizer[p.Name]
<h2><span class="@p.Icon" aria-hidden="true"></span></h2>
<p class="lead">@((MarkupString)SharedLocalizer[p.Name].ToString().Replace(" ", "<br />"))</p>
</NavLink>
</div>
</p>
}
}
</div>
Expand Down

0 comments on commit bd987e9

Please sign in to comment.