removed arrow from dropdown (#685)

This commit is contained in:
Peer_Rich 2021-09-19 20:48:15 +01:00 committed by GitHub
parent f281c49e76
commit a4b1264db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -29,7 +29,6 @@ export const DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuConten
className="z-10 mt-1 text-sm origin-top-right bg-white rounded-sm shadow-lg w-44 ring-1 ring-black ring-opacity-5 focus:outline-none"
ref={forwardedRef}>
{children}
<DropdownMenuPrimitive.Arrow />
</DropdownMenuPrimitive.Content>
);
}

View file

@ -357,11 +357,7 @@ const CreateNewEventDialog = ({ profiles, canAddEvents }: { profiles: Profile[];
<Button EndIcon={ChevronDownIcon}>New event type</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuLabel>
Create an event type under
<br />
your name or a team.
</DropdownMenuLabel>
<DropdownMenuLabel>Create an event type under your name or a team.</DropdownMenuLabel>
<DropdownMenuSeparator className="h-px bg-gray-200" />
{profiles.map((profile) => (
<DropdownMenuItem