Skip to content

Commit 322be84

Browse files
committed
fix: refine margins of navbar items
1 parent d5660a3 commit 322be84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_partials/assets/helpers/navbar-render-menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{ if $entry.Params.spacing }}
1212
<li class="nav-item flex-grow-1"></li>
1313
{{ else }}
14-
<li class="nav-item {{ if .HasChildren }} dropdown me-auto{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
14+
<li class="nav-item {{ if .HasChildren }} dropdown me-auto my-auto{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
1515
{{- partial "assets/helpers/navbar-item.html" (dict "menu-entry" $entry "page" $page) -}}
1616
{{- if .HasChildren -}}
1717
<ul class="dropdown-menu{{ if $control }} dropdown-menu-end{{ end }}">

0 commit comments

Comments
 (0)