Reduce spacing on navbar to show more elements before collapsing
Also accomplished by incrasing breakpoint of navbar collapse
This commit is contained in:
parent
89b6dc09f5
commit
ccc40b569f
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
<nav class="navbar navbar-expand-sm navbar-dark">
|
<nav class="navbar navbar-expand-lg navbar-dark">
|
||||||
<a class="navbar-brand" href='{{ ref . "/" }}'><code>/home/{{ lower .Site.Title }}</code></a>
|
<a class="navbar-brand" href='{{ ref . "/" }}'><code>/home/{{ lower .Site.Title }}</code></a>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
|
|
@ -86,8 +86,8 @@ table td {
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
padding-right: $font-size-base !important;
|
padding-right: $spacer * 0.75 !important;
|
||||||
padding-left: $font-size-base !important;
|
padding-left: $spacer * 0.75 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link code, .navbar-brand code {
|
.nav-link code, .navbar-brand code {
|
||||||
|
|
Loading…
Reference in a new issue