From 962928501d767fb483a0ffecf81b144def419b2c Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Mon, 7 Feb 2022 13:54:52 +0100 Subject: [PATCH] docs: hide 'back-to-main-menu' entry in narrow menu 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. --- website/src/css/custom.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 87ef50ea89d..71cfcdcbf4b 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -29,7 +29,6 @@ --navbar-link-color: #122d33; } - footer { --ifm-footer-link-hover-color: var(--ifm-footer-link-color); } @@ -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%;