mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
hide sidebar when scrolling down
This commit is contained in:
@@ -70,6 +70,7 @@ const config = {
|
||||
href: 'https://github.com/status-im',
|
||||
},
|
||||
],
|
||||
hideOnScroll: true,
|
||||
},
|
||||
footer: {
|
||||
copyright: 'Nimbus @2023<br/>All Rights Reserved.',
|
||||
|
||||
@@ -540,6 +540,14 @@ small {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
a[class^='sidebarLogo_'] {
|
||||
margin: 0;
|
||||
|
||||
img {
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
@include utils.responsive('sm', 'down') {
|
||||
:root {
|
||||
--ifm-global-spacing: 0.5rem;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
margin-top: var(--ifm-navbar-height);
|
||||
padding-top: var(--ifm-navbar-height);
|
||||
/* width: var(--doc-sidebar-width); */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user