aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorOlivier Roques <olivier@oroques.dev>2020-11-26 10:20:20 +0100
committerOlivier Roques <oroques@cisco.com>2020-11-26 13:37:26 +0100
commit7d557d96d0274c95b48da7972917c40bf751d0c7 (patch)
treefd12c996fc487f6612f9bc9bd8f4783840f1d0aa /layouts/partials/header.html
parente3ab3f858050572d4ea39491d3d292952aa262bf (diff)
Fix margins in header and footer
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index aba1999..e9debdf 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,7 @@
<div class="container mt-5">
- <nav class="navbar navbar-expand-sm flex-column flex-sm-row p-0">
- <a class="navbar-brand mr-sm-auto" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
- <div class="navbar-nav flex-row">
+ <nav class="navbar navbar-expand-sm flex-column flex-sm-row text-nowrap p-0">
+ <a class="navbar-brand mx-0 mr-sm-auto" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
+ <div class="navbar-nav flex-row flex-wrap justify-content-center">
{{ with .Site.Menus.main }}
{{ $navbar_len := len . }}
{{ range $i, $nav_item := . }}