Skip to content

Commit

Permalink
docs: hide 'back-to-main-menu' entry in narrow menu
Browse files Browse the repository at this point in the history
This hides the 'back to main menu' button from the narrowed site menu.
There is no main menu to speak of, so having it take you back to
'unleash enterprise' and the GitHub icon seems unnecessary.
  • Loading branch information
thomasheartman committed Feb 7, 2022
1 parent 41d673e commit 9629285
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/src/css/custom.css
Expand Up @@ -29,7 +29,6 @@
--navbar-link-color: #122d33;
}


footer {
--ifm-footer-link-hover-color: var(--ifm-footer-link-color);
}
Expand All @@ -38,6 +37,11 @@ footer {
font-size: 2.5rem !important;
}

.navbar-sidebar__back {
/* hide the 'back to main menu' item in the narrow menu. */
display: none;
}

li.theme-doc-sidebar-item-category-level-1 > div::before {
width: 0.3em;
height: 100%;
Expand Down

0 comments on commit 9629285

Please sign in to comment.