From bc657539f25474c10b68c0ea9b5508befcaab2a6 Mon Sep 17 00:00:00 2001 From: Aleksandar Bursac Date: Sun, 1 Mar 2026 12:23:03 -0500 Subject: [PATCH] fix: fully hide MLH trust badge when nav scrolls out of view --- web/components/sections/navbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/sections/navbar.tsx b/web/components/sections/navbar.tsx index 072362c..df02f98 100644 --- a/web/components/sections/navbar.tsx +++ b/web/components/sections/navbar.tsx @@ -51,7 +51,7 @@ export default function Navbar() { flex items-center gap-8 pl-8 pr-[90px] min-[1280px]:pr-[110px] min-[1650px]:px-8 border border-white rounded-lg bg-white/50 backdrop-blur transition-transform duration-300 - ${isVisible ? "translate-y-0" : "-translate-y-[200%]"}`} + ${isVisible ? "translate-y-0" : "-translate-y-[calc(200%+12px)]"}`} > {/* logo */}