diff --git a/docusaurus.config.js b/docusaurus.config.js index 98b4da3b6a..ca05042e6f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -80,6 +80,7 @@ const config = { src: "img/logo-dark.png", srcDark: "img/logo-light.png", }, + hideOnScroll: true, items: [ { type: "doc", diff --git a/src/css/custom.css b/src/css/custom.css index d40f6b7495..7974c34b3e 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -125,9 +125,23 @@ p > img + em { justify-items: center; } +/* Sidebar logo adjustments to match above, overriding values set in DocSidebar module */ +aside a > img { + margin: auto; + margin-right: auto !important; + height: 2.5rem !important; +} + +@media only screen and (max-width: 996px) { + .navbar__brand { + border-right: none; + } +} + .navbar__logo { height: 2.5rem; margin-top: 0.5rem; + margin-right: 0; } .navbar {