The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fixed modal overflow issue, tooltip button nesting issue
Steven Tey562b278e18d3
diff --git a/app/ui/switch.tsx b/app/ui/switch.tsxindex 19b2afed1c..fc3a9785bb 100644--- a/app/ui/switch.tsx+++ b/app/ui/switch.tsx@@ -25,14 +25,9 @@ const Switch = ({if (disabledTooltip) {return (<Tooltip content={disabledTooltip}>- <SwitchPrimitive.Root- checked={checked}- name="switch"- disabled={true}- className="relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200 radix-state-checked:bg-gray-300"- >- <SwitchPrimitive.Thumb className="h-3 w-3 transform rounded-full bg-white shadow-lg" />- </SwitchPrimitive.Root>+ <div className="relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200 radix-state-checked:bg-gray-300">+ <div className="h-3 w-3 transform rounded-full bg-white shadow-lg" />+ </div></Tooltip>);}diff --git a/components/app/modals/add-edit-link-modal/index.tsx b/components/app/modals/add-edit-link-modal/index.tsxindex 7cfeb1988c..f87de7b73b 100644--- a/components/app/modals/add-edit-link-modal/index.tsx+++ b/components/app/modals/add-edit-link-modal/index.tsx@@ -280,7 +280,7 @@ function AddEditLinkModal({preventDefaultClose={homepageDemo ? false : true}{...(welcomeFlow && { onClose: () => router.back() })}>- <div className="relative grid max-h-[min(906px,_90vh)] w-full divide-x divide-gray-100 overflow-auto scrollbar-hide md:grid-cols-2">+ <div className="relative grid max-h-[min(906px,_90vh)] w-full divide-x divide-gray-100 overflow-auto scrollbar-hide md:grid-cols-2 md:overflow-hidden">{!welcomeFlow && !homepageDemo && (<buttononClick={() => setShowAddEditLinkModal(false)}