From 68db679de79dd5344d4dd633cea574760d550b7a Mon Sep 17 00:00:00 2001 From: Er2 Date: Sun, 27 Mar 2022 14:20:53 +0300 Subject: [PATCH] update Remove nitro perks at site. Fix topbar colors. --- src/hide.less | 1 + src/settings.less | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/hide.less b/src/hide.less index 9d0b0f7..bbff7b6 100644 --- a/src/hide.less +++ b/src/hide.less @@ -4,6 +4,7 @@ */ // Site +[class*="perksContainer-"], [class^="DocSearch"], // Algolia, f you #app-mount div:not([class]) div[class=""] div:not([class]), // main page content #app-mount div:not([class]) div[class=""] div div[class*="background-"], // nitro animation at top diff --git a/src/settings.less b/src/settings.less index 9866f37..59a3ede 100644 --- a/src/settings.less +++ b/src/settings.less @@ -8,9 +8,7 @@ div[class^="standardSidebarView-"] { flex-direction: column; div[class^="sidebarRegion-"] { - overflow: auto hidden; - scrollbar-width: thin; - background: var(--background-secondary); // bugfix + overflow: hidden; flex-basis: unset; // bugfix to normalize height flex-grow: 0; // fix scaling @@ -19,12 +17,16 @@ div[class^="standardSidebarView-"] { { display: none; } & > div { + background: var(--background-primary); + scrollbar-width: thin; overflow: auto hidden !important; justify-content: left; max-width: 100%; & > nav { padding: 0; + width: unset; // to increase size + background: var(--background-secondary); // bugfix & > div { flex-direction: row; height: @tab-height;