Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
set maxheight to modals
Francis Caocfd49e17428a
diff --git a/src/app/(main)/websites/[websiteId]/cohorts/CohortAddButton.tsx b/src/app/(main)/websites/[websiteId]/cohorts/CohortAddButton.tsxindex 3f155f64a..aa62f1d9b 100644--- a/src/app/(main)/websites/[websiteId]/cohorts/CohortAddButton.tsx+++ b/src/app/(main)/websites/[websiteId]/cohorts/CohortAddButton.tsx@@ -15,7 +15,10 @@ export function CohortAddButton({ websiteId }: { websiteId: string }) {<Text>{formatMessage(labels.cohort)}</Text></Button><Modal>- <Dialog title={formatMessage(labels.cohort)} style={{ width: 800, minHeight: 300 }}>+ <Dialog+ title={formatMessage(labels.cohort)}+ style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}+ >{({ close }) => {return <CohortEditForm websiteId={websiteId} onClose={close} />;}}diff --git a/src/app/(main)/websites/[websiteId]/cohorts/CohortEditButton.tsx b/src/app/(main)/websites/[websiteId]/cohorts/CohortEditButton.tsxindex d7f80a702..86b3dedc9 100644--- a/src/app/(main)/websites/[websiteId]/cohorts/CohortEditButton.tsx+++ b/src/app/(main)/websites/[websiteId]/cohorts/CohortEditButton.tsx@@ -18,7 +18,10 @@ export function CohortEditButton({return (<ActionButton title={formatMessage(labels.edit)} icon={<Edit />}>- <Dialog title={formatMessage(labels.cohort)} style={{ width: 800, minHeight: 300 }}>+ <Dialog+ title={formatMessage(labels.cohort)}+ style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}+ >{({ close }) => {return (<CohortEditFormdiff --git a/src/app/(main)/websites/[websiteId]/segments/SegmentAddButton.tsx b/src/app/(main)/websites/[websiteId]/segments/SegmentAddButton.tsxindex d27acb3c9..ef2079486 100644--- a/src/app/(main)/websites/[websiteId]/segments/SegmentAddButton.tsx+++ b/src/app/(main)/websites/[websiteId]/segments/SegmentAddButton.tsx@@ -15,7 +15,10 @@ export function SegmentAddButton({ websiteId }: { websiteId: string }) {<Text>{formatMessage(labels.segment)}</Text></Button><Modal>- <Dialog title={formatMessage(labels.segment)} style={{ width: 800, minHeight: 300 }}>+ <Dialog+ title={formatMessage(labels.segment)}+ style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}+ >{({ close }) => {return <SegmentEditForm websiteId={websiteId} onClose={close} />;}}diff --git a/src/app/(main)/websites/[websiteId]/segments/SegmentEditButton.tsx b/src/app/(main)/websites/[websiteId]/segments/SegmentEditButton.tsxindex 10622ac20..a93a11d86 100644--- a/src/app/(main)/websites/[websiteId]/segments/SegmentEditButton.tsx+++ b/src/app/(main)/websites/[websiteId]/segments/SegmentEditButton.tsx@@ -18,7 +18,10 @@ export function SegmentEditButton({return (<ActionButton title={formatMessage(labels.edit)} icon={<Edit />}>- <Dialog title={formatMessage(labels.segment)} style={{ width: 800, minHeight: 300 }}>+ <Dialog+ title={formatMessage(labels.segment)}+ style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}+ >{({ close }) => {return (<SegmentEditForm