Move popover to the right

This commit is contained in:
Sean Yang 2023-10-09 02:52:09 -04:00
parent 982b77b9f8
commit ed6681aa82

View File

@ -313,7 +313,7 @@ const TextFieldsNode = ({ data, id }) => {
<TemplateHooks vars={templateVars} nodeId={id} startY={hooksY} />
<Stack justify={'center'} align={'center'} gap={1}>
<button onClick={handleAddField}>+</button>
<Popover width={200} position="bottom" withArrow shadow="md" trapFocus>
<Popover width={200} position="right" withArrow shadow="md" trapFocus>
<Popover.Target>
<div className="add-text-field-btn">
<button>Generate with AI</button>