Merge pull request #5179 from Bilal-io/master

Fixes to the Docs version switcher
This commit is contained in:
Jose Diaz-Gonzalez
2022-05-15 17:21:57 -04:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -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
}

View File

@@ -500,6 +500,7 @@
}
addVersionLink('master');
versions.reverse();
Array.prototype.forEach.call(versions, function (version, i) {
addVersionLink(version);
});