Made docs sidebar sticky, changed theme to default

- MDN theme appeared fairly bad for markdown use, and the geometric
background was a bit much. Swapped out to default theme.
- Rough-added stickiness to docs sidebar, will need more work once it
starts to expand possible screen height.
This commit is contained in:
Dan Brown
2020-02-02 21:59:51 +00:00
parent 5ce3b861a9
commit dea8343bc8
5 changed files with 68 additions and 60 deletions

View File

@ -185,7 +185,7 @@ function getMode(suggestion, content) {
* @returns {*|string}
*/
function getTheme() {
return window.codeTheme || 'mdn-like';
return window.codeTheme || 'default';
}
/**