Skip to content

Commit

Permalink
style(top-app-bar): dropdown items
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 28, 2022
1 parent b44756d commit c4fa8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/header/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ <h5 class="offcanvas-title" id="navbarMenusLabel">{{ $.Site.Title }}</h5>
{{- $url := .URL | absURL -}}
{{- $active := or (eq $currentPage.Permalink (absURL .URL)) ($currentPage.IsMenuCurrent "main" .) -}}
{{- if .HasChildren -}}
<li class="nav-item col-6 col-lg-auto dropdown">
<a class="dropdown-toggle py-2 px-0 px-lg-2" href="#" class="nav-link{{ if $currentPage.HasMenuCurrent "main" . }} active{{ end }}"
<li class="nav-item col-6 col-lg-auto dropdown py-2 px-0 px-lg-2">
<a class="dropdown-toggle" href="#" class="nav-link{{ if $currentPage.HasMenuCurrent "main" . }} active{{ end }}"
id="navbarDropdown{{ title .Identifier }}" role="button" data-bs-toggle="dropdown" aria-expanded="false">
{{ .Pre }} {{- .Name -}} {{ .Post }}
</a>
Expand Down

0 comments on commit c4fa8e6

Please sign in to comment.