Use margin instead of padding
This commit is contained in:
@@ -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 }}
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user