2
0
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:
Mark Otto
2016-12-29 13:22:45 -08:00
parent a769542888
commit 5d7db50739
2 changed files with 22 additions and 4 deletions
+5 -2
View File
@@ -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;
}
}