From accd977ddcafee5cd527e924f33e408768c17d5d Mon Sep 17 00:00:00 2001 From: Bilal Mirza <84387676+bilalmirza74@users.noreply.github.com> Date: Sun, 15 Oct 2023 22:57:52 +0530 Subject: [PATCH] fix: Overflow of body across leaderboard on mobile screen #1120 & Doc's navbar was not responsive #1129 (#1123) Co-authored-by: Johannes Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com> --- .../formbricks-com/components/docs/Button.tsx | 7 ++++--- .../formbricks-com/components/docs/Header.tsx | 16 +++++++------- .../pages/formtribe/HeaderLight.tsx | 2 +- apps/formbricks-com/pages/formtribe/index.tsx | 21 +++++++------------ 4 files changed, 20 insertions(+), 26 deletions(-) diff --git a/apps/formbricks-com/components/docs/Button.tsx b/apps/formbricks-com/components/docs/Button.tsx index 3094c1671e..df5df37a0f 100644 --- a/apps/formbricks-com/components/docs/Button.tsx +++ b/apps/formbricks-com/components/docs/Button.tsx @@ -36,15 +36,16 @@ type ButtonProps = { export function Button({ variant = "primary", className, children, arrow, ...props }: ButtonProps) { className = clsx( - "inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition", + "inline-flex gap-0.5 justify-center items-center overflow-hidden font-medium transition text-center", variantStyles[variant], - className + className, + "px-5 py-2.5 text-xs" ); let arrowIcon = ( , { className?: string } ref={ref} className={clsx( className, - "fixed inset-x-0 top-0 z-50 flex h-14 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80", + "fixed inset-x-0 top-0 z-50 flex h-20 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80", !isInsideMobileNavigation && "backdrop-blur-sm dark:backdrop-blur lg:left-72 xl:left-80", isInsideMobileNavigation ? "bg-white dark:bg-slate-900" @@ -64,10 +64,10 @@ export const Header = forwardRef, { className?: string } -
-