set maxheight to modals

This commit is contained in:
Francis Cao 2025-08-27 16:28:15 -07:00
parent f9442001e4
commit 7800fce2ec
4 changed files with 16 additions and 4 deletions

View file

@ -17,7 +17,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