Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2017-10-04 16:24:10 +0300
committerJohann-S <johann.servoire@gmail.com>2017-10-04 17:22:55 +0300
commitb9c4a5cde2f1791624633e9023cab28d1d4edab9 (patch)
tree0732caf98dde4e08a365a742b433032b1e5fa204 /scss/_navbar.scss
parent133cc321977ce97d5a688bf32aa2917408e48a6c (diff)
Fix dropup in bottom navbar for all the breakpoints
Diffstat (limited to 'scss/_navbar.scss')
-rw-r--r--scss/_navbar.scss26
1 files changed, 7 insertions, 19 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index a0ccc06fb7..6b023e82e4 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -74,13 +74,6 @@
position: static;
float: none;
}
-
- .dropdown-toggle {
- &::after {
- border-top: $caret-width solid;
- border-bottom: 0;
- }
- }
}
@@ -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) {
@@ -203,6 +184,13 @@
.navbar-toggler {
display: none;
}
+
+ .dropup {
+ .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
+ }
}
}
}