Skip to content

Commit f164d9c

Browse files
committed
fix: mobile menu, trusted by colors
1 parent dad6095 commit f164d9c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/Navbar.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ export function Navbar({ children }: { children: React.ReactNode }) {
202202
? 'lg:w-9 lg:opacity-100 lg:translate-x-0'
203203
: 'lg:w-0 lg:opacity-0 lg:-translate-x-full',
204204
)}
205-
onClick={toggleMenu}
205+
onClick={(e) => {
206+
e.stopPropagation()
207+
toggleMenu()
208+
}}
206209
onPointerEnter={() => {
207210
if (window.innerWidth < 1024) {
208211
return

src/components/TrustedByMarquee.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function TrustedByMarquee({
4949
key={i}
5050
src={logoSrc}
5151
alt={brand}
52-
className="max-w-24 max-h-14 w-auto h-auto object-contain opacity-50 grayscale hover:opacity-100 hover:grayscale-0 transition-all duration-200 dark:invert dark:opacity-70 shrink-0"
52+
className="max-w-24 max-h-14 w-auto h-auto object-contain opacity-50 grayscale hover:opacity-100 transition-all duration-200 dark:invert dark:opacity-70 shrink-0"
5353
/>
5454
) : (
5555
<span

0 commit comments

Comments
 (0)