1
0
Fork 0

[FIX] fix navbar float issue near breakpoint sm, because sm width was changed in bootstrap

This commit is contained in:
Jannik Beyerstedt 2016-10-28 21:37:26 +02:00
parent a61d400590
commit 2ecf9ea656
3 changed files with 11 additions and 2 deletions

View file

@ -106,12 +106,16 @@ nav {
text-align: center;
font-size: 18px;
font-weight: 300;
margin: 30px 9px 1px; }
margin: 30px 7px 1px; }
nav ul.nav a:hover, nav ul.nav a:focus, nav ul.nav a.active {
border-bottom: 1px solid #2dac01; }
nav ul.nav a.section {
font-weight: 500; } }
@media (min-width: 768px) {
nav ul.nav a {
margin: 30px 9px 1px; } }
@media (max-width: 575px) {
nav button.navbar-toggler {
float: right;

Binary file not shown.

View file

@ -131,7 +131,7 @@ nav {
text-align: center;
font-size: 18px;
font-weight: 300;
margin: 30px 9px 1px;
margin: 30px 7px 1px;
}
a:hover, a:focus, a.active {
border-bottom: 1px solid $color_accent;
@ -142,6 +142,11 @@ nav {
}
}
}
@include media-breakpoint-up(md) {
nav ul.nav a {
margin: 30px 9px 1px;
}
}
@include media-breakpoint-down(xs) {
nav {
button.navbar-toggler {