From 624231f2237872228205b7d450ce0092b08ceaf0 Mon Sep 17 00:00:00 2001 From: jahooma Date: Tue, 18 Jan 2022 12:55:24 -0600 Subject: [PATCH] Prevent header jump on mobile. --- web/components/manifold-logo.tsx | 9 ++++++--- web/components/nav-bar.tsx | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/web/components/manifold-logo.tsx b/web/components/manifold-logo.tsx index a36ae712..db37c918 100644 --- a/web/components/manifold-logo.tsx +++ b/web/components/manifold-logo.tsx @@ -2,12 +2,15 @@ import Link from 'next/link' import Image from 'next/image' import clsx from 'clsx' -export function ManifoldLogo(props: { darkBackground?: boolean }) { - const { darkBackground } = props +export function ManifoldLogo(props: { + className?: string + darkBackground?: boolean +}) { + const { darkBackground, className } = props return ( - + - + {(user || user === null) && (