mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 14:30:46 +02:00
Merge pull request #14848 from knownasilya/patch-1
Make the docs' nav sidebar scrollable
This commit is contained in:
@@ -638,6 +638,8 @@ body {
|
|||||||
.bs-docs-sidebar.affix {
|
.bs-docs-sidebar.affix {
|
||||||
position: fixed; /* Undo the static from mobile first approach */
|
position: fixed; /* Undo the static from mobile first approach */
|
||||||
top: 20px;
|
top: 20px;
|
||||||
|
bottom: 0;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.bs-docs-sidebar.affix-bottom {
|
.bs-docs-sidebar.affix-bottom {
|
||||||
position: absolute; /* Undo the static from mobile first approach */
|
position: absolute; /* Undo the static from mobile first approach */
|
||||||
|
Reference in New Issue
Block a user