Use margin instead of padding

This commit is contained in:
Will Faught
2022-12-16 16:51:01 -08:00
parent 57c0b8db27
commit 7893e645aa
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
{{ if eq $basePath "/" }}
{{ $basePath = "" }}
{{ 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 }}
{{ $pagePath := strings.TrimPrefix $basePath $p.RelPermalink }}
{{ $menuPath := strings.TrimPrefix $basePath .URL }}

View File

@@ -2,7 +2,7 @@
<section>
<div class="mb-3 text-center">
{{ 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 }}
</div>
</section>