diff --git a/docs/overrides/javascript/extra.js b/docs/overrides/javascript/extra.js index b3c6f9b7..d67fece5 100644 --- a/docs/overrides/javascript/extra.js +++ b/docs/overrides/javascript/extra.js @@ -59,3 +59,11 @@ if (autoThemeInput) { } }); } + +// Add iframe navigation +window.onhashchange = function() { + window.parent.postMessage({ + type: 'navigation', + hash: window.location.pathname + window.location.search + window.location.hash + }, '*'); +}; diff --git a/docs/overrides/stylesheets/style.css b/docs/overrides/stylesheets/style.css index 908aa7ca..386dd1c0 100644 --- a/docs/overrides/stylesheets/style.css +++ b/docs/overrides/stylesheets/style.css @@ -43,3 +43,8 @@ div.highlight { .md-grid { max-width: 1440px; } + +/* Language dropdown selector (default is shorter 200px in length) */ +body .md-select__inner { + max-height: 500px !important; +}