mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
Super massive docs overhaul
* Bring back the navbar up top * Pull the docs content back into separate pages because a 6.6k line docs file is just crazy * Recenter the page content and bring back affixed side nav (needs work)
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
})
|
||||
|
||||
// back to top
|
||||
// setTimeout(function () {
|
||||
// $('.bs-docs-sidenav').affix({
|
||||
// offset: {
|
||||
// top: function () { return $window.width() <= 980 ? 290 : 210 }
|
||||
// , bottom: 270
|
||||
// }
|
||||
// })
|
||||
// }, 100)
|
||||
setTimeout(function () {
|
||||
$('.bs-docs-sidebar').affix({
|
||||
offset: {
|
||||
top: function () { return $window.width() <= 980 ? 290 : 210 }
|
||||
, bottom: 270
|
||||
}
|
||||
})
|
||||
}, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
$('.bs-docs-top').affix()
|
||||
|
Reference in New Issue
Block a user