mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-30 06:34:35 +02:00
fix: navbar sometimes hiding
This commit is contained in:
parent
526f825767
commit
c70dba2c5a
@ -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',
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user