Fixes the dropdowen issue #11597 (#11607)

This commit is contained in:
BHARGAVA_GONUGUNTA 2023-09-29 15:15:45 +05:30 committed by GitHub
parent 6e2a96d69c
commit 30a23cedbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ export const InstallAppButtonChild = ({
</DropdownMenuTrigger>
<DropdownMenuPortal>
<DropdownMenuContent
className="max-w-min"
className="w-auto"
onInteractOutside={(event) => {
if (mutation.isLoading) event.preventDefault();
}}>
@ -95,6 +95,7 @@ export const InstallAppButtonChild = ({
return (
<DropdownItem
className="flex"
type="button"
data-testid={team.isUser ? "install-app-button-personal" : "anything else"}
key={team.id}