mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
docs: show links to other sidebars when the navbar is collapsed (#6096)
This change adds links to Unleash Academy from the docs sidebar and vice versa when the nav bar is collapsed (on narrow screens).
This commit is contained in:
parent
542acd30a9
commit
58836d3ab2
@ -29,6 +29,12 @@ module.exports = {
|
|||||||
'unleash-academy/managing-unleash-for-devops',
|
'unleash-academy/managing-unleash-for-devops',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'ref',
|
||||||
|
id:'welcome',
|
||||||
|
label: 'Docs',
|
||||||
|
className: 'show-when-collapsed',
|
||||||
|
}
|
||||||
],
|
],
|
||||||
documentation: [
|
documentation: [
|
||||||
'welcome',
|
'welcome',
|
||||||
@ -488,5 +494,11 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'ref',
|
||||||
|
id:'unleash-academy/introduction',
|
||||||
|
label: 'Unleash Academy',
|
||||||
|
className: 'show-when-collapsed',
|
||||||
|
}
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
@ -58,6 +58,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 997px) {
|
||||||
|
.show-when-collapsed {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
--ifm-footer-link-hover-color: var(--ifm-footer-link-color);
|
--ifm-footer-link-hover-color: var(--ifm-footer-link-color);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user