Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions apps/web/src/components/ui/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ChevronRightIcon } from "lucide-react";
import type * as React from "react";

import { cn } from "~/lib/utils";
import { Kbd } from "./kbd";

const MenuCreateHandle = MenuPrimitive.createHandle;

Expand Down Expand Up @@ -209,11 +210,8 @@ function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props) {

function MenuShortcut({ className, ...props }: React.ComponentProps<"kbd">) {
return (
<kbd
className={cn(
"ms-auto font-medium font-sans text-muted-foreground/72 text-xs tracking-widest",
className,
)}
<Kbd
className={cn("ms-auto h-4 min-w-0 rounded-sm px-1.5 text-[10px]", className)}
data-slot="menu-shortcut"
{...props}
/>
Expand Down
Loading