Merge pull request #5179 from Bilal-io/master
Fixes to the Docs version switcher
This commit is contained in:
@@ -540,12 +540,16 @@ ul.fas li .fa-large:before, ul.fas li .fa-large:before {
|
|||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
display: block;
|
display: block;
|
||||||
left: auto;
|
left: auto;
|
||||||
|
height: calc(100vh - 100px);
|
||||||
max-height: 600px;
|
max-height: 600px;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
overflow: scroll;
|
overflow: hidden;
|
||||||
right: 20px;
|
right: 20px;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
.rst-versions.rst-badge.shift-up {
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
.rst-versions.rst-badge .icon-book {
|
.rst-versions.rst-badge .icon-book {
|
||||||
float: none
|
float: none
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -500,6 +500,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
addVersionLink('master');
|
addVersionLink('master');
|
||||||
|
versions.reverse();
|
||||||
Array.prototype.forEach.call(versions, function (version, i) {
|
Array.prototype.forEach.call(versions, function (version, i) {
|
||||||
addVersionLink(version);
|
addVersionLink(version);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user