diff --git a/apps/client/src/features/base/components/property/create-property-popover.tsx b/apps/client/src/features/base/components/property/create-property-popover.tsx index 5a12125cc..f418e5219 100644 --- a/apps/client/src/features/base/components/property/create-property-popover.tsx +++ b/apps/client/src/features/base/components/property/create-property-popover.tsx @@ -231,7 +231,6 @@ export function CreatePropertyPopover({ pageId, properties, onPropertyCreated }: onClose={noop} position="bottom-start" shadow="md" - width={selectedType === "formula" ? 460 : 320} withinPortal > @@ -248,14 +247,24 @@ export function CreatePropertyPopover({ pageId, properties, onPropertyCreated }: p={0} onClick={(e) => e.stopPropagation()} onKeyDown={handleKeyDown} - style={{ zIndex: 300 }} + style={{ + zIndex: 300, + minWidth: selectedType === "formula" ? 460 : 320, + maxWidth: "calc(100vw - 32px)", + }} > {panel === "typePicker" && ( - + + + )} {panel === "configure" && selectedType === "formula" && (