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;
|
||||
display: block;
|
||||
left: auto;
|
||||
height: calc(100vh - 100px);
|
||||
max-height: 600px;
|
||||
max-width: 300px;
|
||||
overflow: scroll;
|
||||
overflow: hidden;
|
||||
right: 20px;
|
||||
width: auto;
|
||||
}
|
||||
.rst-versions.rst-badge.shift-up {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.rst-versions.rst-badge .icon-book {
|
||||
float: none
|
||||
}
|
||||
|
||||
@@ -500,6 +500,7 @@
|
||||
}
|
||||
|
||||
addVersionLink('master');
|
||||
versions.reverse();
|
||||
Array.prototype.forEach.call(versions, function (version, i) {
|
||||
addVersionLink(version);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user