The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
feat: add sticky behavior to pricing options container
Juan Sebastián Mendoza3e15b5d7456b
diff --git a/apps/marketing/src/app/(marketing)/layout.tsx b/apps/marketing/src/app/(marketing)/layout.tsxindex a7c599b36..75c2d177c 100644--- a/apps/marketing/src/app/(marketing)/layout.tsx+++ b/apps/marketing/src/app/(marketing)/layout.tsx@@ -38,7 +38,8 @@ export default function MarketingLayout({ children }: MarketingLayoutProps) {return (<divclassName={cn('relative flex min-h-[100vh] max-w-[100vw] flex-col pt-20 md:pt-28', {- 'overflow-y-auto overflow-x-hidden': pathname !== '/singleplayer',+ 'overflow-y-auto overflow-x-hidden':+ pathname && !['/singleplayer', '/pricing'].includes(pathname),})}><divdiff --git a/apps/marketing/src/components/(marketing)/pricing-table.tsx b/apps/marketing/src/components/(marketing)/pricing-table.tsxindex 2cd6eec00..75d7f113a 100644--- a/apps/marketing/src/components/(marketing)/pricing-table.tsx+++ b/apps/marketing/src/components/(marketing)/pricing-table.tsx@@ -23,7 +23,7 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {return (<div className={cn('', className)} {...props}>- <div className="flex items-center justify-center gap-x-6">+ <div className="bg-background sticky top-32 flex items-center justify-center gap-x-6 shadow-[-1px_-5px_2px_6px_hsl(var(--background))] md:top-[7.5rem] lg:static"><AnimatePresence><motion.buttonkey="MONTHLY"