mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
redo and make sticky
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
// scss-lint:disable VendorPrefix
|
||||
|
||||
//
|
||||
// Side navigation
|
||||
//
|
||||
|
||||
.bd-sidebar {
|
||||
@include media-breakpoint-up(md) {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 2rem;
|
||||
top: 5rem;
|
||||
max-height: calc(100vh - 4rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
@@ -26,7 +29,7 @@
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-right: 1rem;
|
||||
// padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user