Skip to content

Commit 0f76ddf

Browse files
committed
Fix header
1 parent 0bab0a6 commit 0f76ddf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/views/components/layout.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
x-data="{
9797
showMobileMenu: false,
9898
showDocsMenu: false,
99-
scrolled: window.scrollY > 50,
99+
scrolled: window.scrollY > 1,
100100
width: window.innerWidth,
101101
get showPlatformSwitcherHeader() {
102102
return ! this.scrolled && this.width >= 1024
@@ -111,7 +111,7 @@
111111
"
112112
x-init="
113113
window.addEventListener('scroll', () => {
114-
scrolled = window.scrollY > 50
114+
scrolled = window.scrollY > 1
115115
})
116116
"
117117
class="font-poppins min-h-screen overflow-x-clip antialiased selection:bg-black selection:text-[#b4a9ff] dark:bg-[#050714] dark:text-white"

0 commit comments

Comments
 (0)