removed arrow from dropdown (#685)
This commit is contained in:
parent
f281c49e76
commit
a4b1264db1
2 changed files with 1 additions and 6 deletions
|
@ -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"
|
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}>
|
ref={forwardedRef}>
|
||||||
{children}
|
{children}
|
||||||
<DropdownMenuPrimitive.Arrow />
|
|
||||||
</DropdownMenuPrimitive.Content>
|
</DropdownMenuPrimitive.Content>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -357,11 +357,7 @@ const CreateNewEventDialog = ({ profiles, canAddEvents }: { profiles: Profile[];
|
||||||
<Button EndIcon={ChevronDownIcon}>New event type</Button>
|
<Button EndIcon={ChevronDownIcon}>New event type</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent align="end">
|
<DropdownMenuContent align="end">
|
||||||
<DropdownMenuLabel>
|
<DropdownMenuLabel>Create an event type under your name or a team.</DropdownMenuLabel>
|
||||||
Create an event type under
|
|
||||||
<br />
|
|
||||||
your name or a team.
|
|
||||||
</DropdownMenuLabel>
|
|
||||||
<DropdownMenuSeparator className="h-px bg-gray-200" />
|
<DropdownMenuSeparator className="h-px bg-gray-200" />
|
||||||
{profiles.map((profile) => (
|
{profiles.map((profile) => (
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
|
|
Loading…
Reference in a new issue