mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-08 20:50:44 +02:00
* Backport #32037 Add `.navbar-nav-scroll` for vertical scrolling of navbar content * drop the css var for a Sass css Co-authored-by: Mark Otto <markdotto@gmail.com>
This commit is contained in:
@@ -139,6 +139,11 @@
|
||||
background: 50% / 100% 100% no-repeat;
|
||||
}
|
||||
|
||||
.navbar-nav-scroll {
|
||||
max-height: $navbar-nav-scroll-max-height;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
// Generate series of `.navbar-expand-*` responsive classes for configuring
|
||||
// where your navbar collapses.
|
||||
.navbar-expand {
|
||||
@@ -198,6 +203,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav-scroll {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.navbar-collapse {
|
||||
display: flex !important; // stylelint-disable-line declaration-no-important
|
||||
|
||||
|
Reference in New Issue
Block a user