Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Fix mobile styles (#550)
Luke Vellacb1fb23b194c
diff --git a/apps/web/src/components/create-poll.tsx b/apps/web/src/components/create-poll.tsxindex 55bc99aba..f3eeae9fb 100644--- a/apps/web/src/components/create-poll.tsx+++ b/apps/web/src/components/create-poll.tsx@@ -142,7 +142,7 @@ const Page: React.FunctionComponent<CreatePollPageProps> = ({};return (- <div className="max-w-full px-3 pb-3 sm:p-4">+ <div className="max-w-full p-3 sm:p-4"><div className="max-w-full"><div className="max-w-full overflow-hidden rounded-lg border bg-white shadow-sm"><div className="flex justify-between border-b p-4">diff --git a/apps/web/src/components/layouts/standard-layout.tsx b/apps/web/src/components/layouts/standard-layout.tsxindex 10f7805df..e64ba4ba6 100644--- a/apps/web/src/components/layouts/standard-layout.tsx+++ b/apps/web/src/components/layouts/standard-layout.tsx@@ -16,7 +16,7 @@ const StandardLayout: React.FunctionComponent<{<UserProvider><DayjsProvider><ModalProvider>- <div className={"bg-pattern relative min-h-full"} {...rest}>+ <div className="bg-pattern relative min-h-full" {...rest}><MobileNavigation /><div className="mx-auto max-w-4xl">{children}</div></div>diff --git a/apps/web/src/components/layouts/standard-layout/mobile-navigation.tsx b/apps/web/src/components/layouts/standard-layout/mobile-navigation.tsxindex ccc1c2db3..5b84e0cb8 100644--- a/apps/web/src/components/layouts/standard-layout/mobile-navigation.tsx+++ b/apps/web/src/components/layouts/standard-layout/mobile-navigation.tsx@@ -48,8 +48,10 @@ export const MobileNavigation = (props: { className?: string }) => {className={clsx("sticky top-0 z-40 flex w-full shrink-0 items-center justify-between border-b p-2 transition-all",{- "bg-gray-50/75 shadow-sm backdrop-blur-md ": isPinned,- "border-transparent bg-gray-50/0 shadow-none": !isPinned,+ "bg-gray-50 shadow-sm sm:bg-gray-50/75 sm:backdrop-blur-md ":+ isPinned,+ "bg-gray-50 shadow-none sm:border-transparent sm:bg-gray-50/0":+ !isPinned,},props.className,)}diff --git a/apps/web/src/components/profile.tsx b/apps/web/src/components/profile.tsxindex 5aeaf038f..a4fde7edd 100644--- a/apps/web/src/components/profile.tsx+++ b/apps/web/src/components/profile.tsx@@ -35,7 +35,7 @@ export const Profile: React.FunctionComponent = () => {}return (- <div className="-mt-3 space-y-3 p-3 sm:space-y-4 sm:p-4">+ <div className="space-y-3 p-3 sm:space-y-4 sm:p-4"><Head><title>{t("profileUser", {