diff options
Diffstat (limited to 'docs/assets/css/src')
| -rw-r--r-- | docs/assets/css/src/docs.css | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index b4eed3817..346726ebd 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -528,14 +528,10 @@ body { /* * Side navigation * - * Scrollspy and affixed enhanced navigation to highlight sections and secondary + * Scrollspy and enhanced navigation to highlight sections and secondary * sections of docs content. */ -/* By default it's not affixed in mobile views, so undo that */ -.bs-docs-sidebar.affix { - position: static; -} @media (min-width: 768px) { .bs-docs-sidebar { padding-left: 20px; @@ -618,35 +614,11 @@ body { } } -/* Show and affix the side nav when space allows it */ +/* Show the side nav when space allows it */ @media (min-width: 992px) { .bs-docs-sidebar .nav > .active > ul { display: block; } - /* Widen the fixed sidebar */ - .bs-docs-sidebar.affix, - .bs-docs-sidebar.affix-bottom { - width: 213px; - } - .bs-docs-sidebar.affix { - position: fixed; /* Undo the static from mobile first approach */ - top: 20px; - } - .bs-docs-sidebar.affix-bottom { - position: absolute; /* Undo the static from mobile first approach */ - } - .bs-docs-sidebar.affix-bottom .bs-docs-sidenav, - .bs-docs-sidebar.affix .bs-docs-sidenav { - margin-top: 0; - margin-bottom: 0; - } -} -@media (min-width: 1200px) { - /* Widen the fixed sidebar again */ - .bs-docs-sidebar.affix-bottom, - .bs-docs-sidebar.affix { - width: 263px; - } } |
