Skip to content

Commit

Permalink
Fix dropup in bottom navbar for all the breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann-S committed Oct 4, 2017
1 parent 133cc32 commit 19e022b
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@
position: static;
float: none;
}

.dropdown-toggle {
&::after {
border-top: $caret-width solid;
border-bottom: 0;
}
}
}


Expand Down Expand Up @@ -151,18 +144,6 @@
padding-right: 0;
padding-left: 0;
}

.dropup {
.dropdown-menu {
position: absolute;
top: auto;
bottom: 100%;
}

.dropdown-toggle {
@include caret(up);
}
}
}

@include media-breakpoint-up($next) {
Expand Down Expand Up @@ -203,6 +184,13 @@
.navbar-toggler {
display: none;
}

.dropup {
.dropdown-menu {
top: auto;
bottom: 100%;
}
}
}
}
}
Expand Down

0 comments on commit 19e022b

Please sign in to comment.