diff --git a/src/css/custom.css b/src/css/custom.css index 9f101944..18383d28 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -2998,7 +2998,7 @@ main[class*='docMainContainer_'] { .theme-doc-sidebar-container, .menu--responsive, div[class*='sidebarViewport_'] { - z-index: 9999 !important; + z-index: 99 !important; } .mobile-social-item { diff --git a/src/theme/DocSidebar/Desktop/styles.module.css b/src/theme/DocSidebar/Desktop/styles.module.css index 3763fabd..fda5a859 100644 --- a/src/theme/DocSidebar/Desktop/styles.module.css +++ b/src/theme/DocSidebar/Desktop/styles.module.css @@ -17,6 +17,7 @@ rgba(255, 255, 255, 0.05) 0%, rgba(240, 242, 245, 0.05) 100% ); + margin-top: 5px; } .sidebarWithHideableNavbar { @@ -45,13 +46,13 @@ display: flex; flex-direction: column; height: 100%; - padding-top: 1rem; /* Add top padding to give space for the first item */ + padding-top: 3.5rem; /* Add top padding to give space for the first item */ overflow: visible; /* Ensure content isn't cut off */ } .menu { padding: 1.25rem 0.5rem; - padding-top: 2.5rem; /* Significantly increase top padding to move GitHub down */ + padding-top: 0rem; /* Significantly increase top padding to move GitHub down */ padding-bottom: 3rem; /* Add extra padding at bottom to prevent items from being cut off */ flex: 1; overflow-y: auto;