match Save as Collection popover width to its target

This commit is contained in:
jeffvli
2026-02-01 20:26:02 -08:00
parent 54bc241984
commit e12150d026
@@ -94,7 +94,7 @@ export const SaveAsCollectionButton = ({ fullWidth, itemType }: SaveAsCollection
}, []); }, []);
return ( return (
<Popover onClose={handlers.close} opened={isOpen} position="bottom-start" width={320}> <Popover onClose={handlers.close} opened={isOpen} width="target">
<Popover.Target> <Popover.Target>
{fullWidth ? ( {fullWidth ? (
<Button fullWidth onClick={handleOpen} variant="default"> <Button fullWidth onClick={handleOpen} variant="default">