Use margin instead of padding
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{{ if eq $basePath "/" }}
|
{{ if eq $basePath "/" }}
|
||||||
{{ $basePath = "" }}
|
{{ $basePath = "" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<nav class="justify-content-center nav nav-pills py-3">
|
<nav class="justify-content-center my-3 nav nav-pills">
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
{{ $pagePath := strings.TrimPrefix $basePath $p.RelPermalink }}
|
{{ $pagePath := strings.TrimPrefix $basePath $p.RelPermalink }}
|
||||||
{{ $menuPath := strings.TrimPrefix $basePath .URL }}
|
{{ $menuPath := strings.TrimPrefix $basePath .URL }}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<div class="mb-3 text-center">
|
<div class="mb-3 text-center">
|
||||||
{{ range $k, $v := . }}
|
{{ range $k, $v := . }}
|
||||||
<a href="{{ $v }}"><i class="bi bi-{{ $k }} display-6 px-2"></i></a>
|
<a href="{{ $v }}"><i class="bi bi-{{ $k }} display-6 mx-2"></i></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user