diff options
-rw-r--r-- | scss/_nav.scss | 6 | ||||
-rw-r--r-- | scss/_variables.scss | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/scss/_nav.scss b/scss/_nav.scss index f7b83c68d1..4efed45b62 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -57,7 +57,7 @@ margin-bottom: -1px; + .nav-item { - margin-left: .2rem; + margin-left: $nav-item-margin; } } @@ -102,7 +102,7 @@ float: left; + .nav-item { - margin-left: .2rem; + margin-left: $nav-item-margin; } } @@ -128,7 +128,7 @@ float: none; + .nav-item { - margin-top: .2rem; + margin-top: $nav-item-margin; margin-left: 0; } } diff --git a/scss/_variables.scss b/scss/_variables.scss index c63af84904..9637118b1d 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -363,6 +363,8 @@ $navbar-light-disabled-color: rgba(0,0,0,.15) !default; // Navs +$nav-item-margin: .2rem !default; + $nav-link-padding: .5em 1em !default; $nav-link-hover-bg: $gray-lighter !default; |