set maxHeight for DialogButton. remove from individual buttons
This commit is contained in:
@@ -12,7 +12,6 @@ export function CohortAddButton({ websiteId }: { websiteId: string }) {
|
||||
label={formatMessage(labels.cohort)}
|
||||
variant="primary"
|
||||
width="800px"
|
||||
height="calc(100dvh - 40px)"
|
||||
>
|
||||
{({ close }) => {
|
||||
return <CohortEditForm websiteId={websiteId} onClose={close} />;
|
||||
|
||||
@@ -21,7 +21,6 @@ export function CohortEditButton({
|
||||
variant="quiet"
|
||||
title={formatMessage(labels.cohort)}
|
||||
width="800px"
|
||||
height="calc(100dvh - 40px)"
|
||||
>
|
||||
{({ close }) => {
|
||||
return (
|
||||
|
||||
@@ -12,7 +12,6 @@ export function SegmentAddButton({ websiteId }: { websiteId: string }) {
|
||||
label={formatMessage(labels.segment)}
|
||||
variant="primary"
|
||||
width="800px"
|
||||
height="calc(100dvh - 40px)"
|
||||
>
|
||||
{({ close }) => {
|
||||
return <SegmentEditForm websiteId={websiteId} onClose={close} />;
|
||||
|
||||
@@ -21,7 +21,6 @@ export function SegmentEditButton({
|
||||
title={formatMessage(labels.segment)}
|
||||
variant="quiet"
|
||||
width="800px"
|
||||
height="calc(100dvh - 40px)"
|
||||
>
|
||||
{({ close }) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user