fix: navbar sometimes hiding

This commit is contained in:
Ushie 2023-08-09 02:34:45 +03:00
parent 526f825767
commit c70dba2c5a
No known key found for this signature in database
GPG Key ID: B3AAD18842E34632
2 changed files with 0 additions and 9 deletions

View File

@ -57,8 +57,6 @@ const config = {
}, },
}, },
navbar: { navbar: {
/* because we can't add a .scrolled class to docusaurus on scroll, we're abusing hide on scroll */
hideOnScroll: true,
logo: { logo: {
alt: 'ReVanced Logo', alt: 'ReVanced Logo',
target: '_self', target: '_self',

View File

@ -51,13 +51,6 @@
padding: 0 2.5rem; padding: 0 2.5rem;
} }
/* because we can't add a .scrolled class to docusaurus on scroll, we're abusing hide on scroll */
.navbarHidden_node_modules-\@docusaurus-theme-classic-lib-theme-Navbar-Layout-styles-module {
transform: none !important;
box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12),
0px 2px 4px -1px rgba(0, 0, 0, 0.2);
}
.navbar__items { .navbar__items {
gap: 1rem; gap: 1rem;
} }