Skip to content

Commit

Permalink
Merge pull request #3342 from sbwalker/dev
Browse files Browse the repository at this point in the history
style page names in Admin Dashboard so that they are always visible in Bootstrap themes
  • Loading branch information
sbwalker authored Sep 28, 2023
2 parents 24d69fd + bd987e9 commit ae6c6a7
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 ae6c6a7

Please sign in to comment.