1
0
mirror of https://github.com/minio/docs.git synced 2025-07-27 08:41:57 +03:00

Additional CSS/JS FIxups

This commit is contained in:
ravindk89
2020-09-21 19:33:01 -04:00
parent 61884974d1
commit d2657ec80a
4 changed files with 42 additions and 13 deletions

View File

@ -18,8 +18,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
// how to resolve that.
let options = {
root: document.querySelector('div.center'),
rootMargin: '-150px 0px -300px 0px'
rootMargin: '-85px 0px 0px 0px'
}
const observer = new IntersectionObserver(entries => {
@ -69,11 +68,11 @@ window.addEventListener('DOMContentLoaded', (event) => {
leftcolumn.classList.toggle('collapsed');
centercolumn.classList.toggle('collapsed');
sidebarwrapper.classList.toggle('collapsed');
if (button.textContent == "[x] Collapse") {
button.textContent = "[x] Expand";
if (button.textContent == "Collapse x") {
button.textContent = "Expand x";
}
else {
button.textContent = "[x] Collapse";
button.textContent = "Collapse x";
}
}