mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
match Save as Collection popover width to its target
This commit is contained in:
@@ -94,7 +94,7 @@ export const SaveAsCollectionButton = ({ fullWidth, itemType }: SaveAsCollection
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Popover onClose={handlers.close} opened={isOpen} position="bottom-start" width={320}>
|
||||
<Popover onClose={handlers.close} opened={isOpen} width="target">
|
||||
<Popover.Target>
|
||||
{fullWidth ? (
|
||||
<Button fullWidth onClick={handleOpen} variant="default">
|
||||
|
||||
Reference in New Issue
Block a user