Migrate styles to bootstrap v5
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Manuel Thalmann 2021-05-12 10:59:40 +00:00
parent 60d2f273e4
commit e3dce4859b

View file

@ -29,7 +29,7 @@
</a> </a>
<div class="dropdown-menu" aria-labelledby="mainNav_$URLSegment"> <div class="dropdown-menu" aria-labelledby="mainNav_$URLSegment">
<a class="dropdown-item<% if $isCurrent %> active <% end_if %>" href="$Link"> <a class="dropdown-item<% if $isCurrent %> active <% end_if %>" href="$Link">
$MenuTitle<% if $isCurrent %><span class="sr-only"> (current)</span><% end_if %> $MenuTitle<% if $isCurrent %><span class="visually-hidden"> (current)</span><% end_if %>
</a> </a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<% loop $Children %> <% loop $Children %>
@ -42,7 +42,7 @@
<% else %> <% else %>
<li class="nav-item<% if $isCurrent %> active<% end_if %>"> <li class="nav-item<% if $isCurrent %> active<% end_if %>">
<a class="nav-link" href="$Link"> <a class="nav-link" href="$Link">
$MenuTitle<% if $isCurrent %><span class="sr-only"> (current)</span><% end_if %> $MenuTitle<% if $isCurrent %><span class="visually-hidden"> (current)</span><% end_if %>
</a> </a>
</li> </li>
<% end_if %> <% end_if %>