From 1f1cab2be1ac27a0a89e3451c7f1534684008825 Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:54:31 +0530 Subject: [PATCH] fix: padding in shell for mobile (#6825) * fix: padding * fix: breakpoints in fab * fix: padding --- apps/web/pages/availability/[schedule].tsx | 2 +- packages/features/shell/Shell.tsx | 14 +++++++------- packages/ui/components/button/Button.tsx | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/web/pages/availability/[schedule].tsx b/apps/web/pages/availability/[schedule].tsx index 201f2fea0f..84a4337bf7 100644 --- a/apps/web/pages/availability/[schedule].tsx +++ b/apps/web/pages/availability/[schedule].tsx @@ -185,7 +185,7 @@ export default function Availability({ schedule }: { schedule: number }) { ...values, }); }} - className="flex flex-col pb-16 sm:mx-0 xl:flex-row xl:space-x-6"> + className="flex flex-col pb-16 pt-4 sm:mx-0 md:pt-0 xl:flex-row xl:space-x-6">
{typeof me.data?.weekStart === "string" && ( diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index 903251bed4..06044b7d36 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -780,10 +780,10 @@ function SideBar() { export function ShellMain(props: LayoutProps) { const router = useRouter(); const { isLocaleReady } = useLocale(); + return ( <> -
+
{!!props.backPath && (