fix: Reduce size of button to match visual area on Collaborators component

This commit is contained in:
Tom Moor
2024-08-17 09:11:18 -04:00
parent 7269201bca
commit 516c5082c8
+1 -1
View File
@@ -82,7 +82,7 @@ function Collaborators(props: Props) {
<PopoverDisclosure {...popover}>
{(popoverProps) => (
<NudeButton
width={Math.max(collaborators.length, limit) * 32}
width={Math.min(collaborators.length, limit) * 32}
height={32}
{...popoverProps}
>