The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
[Design system] fix: text sizes in context-menu (#27342)
Jonathan Summers-Muirfaabe40472b4
diff --git a/packages/ui/src/components/shadcn/ui/context-menu.tsx b/packages/ui/src/components/shadcn/ui/context-menu.tsxindex 5b5608d2e9c..448769586ff 100644--- a/packages/ui/src/components/shadcn/ui/context-menu.tsx+++ b/packages/ui/src/components/shadcn/ui/context-menu.tsx@@ -27,7 +27,7 @@ const ContextMenuSubTrigger = React.forwardRef<<ContextMenuPrimitive.SubTriggerref={ref}className={cn(- 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-selection focus:text-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',+ 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none focus:bg-selection focus:text-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',inset && 'pl-8',className)}@@ -46,7 +46,7 @@ const ContextMenuSubContent = React.forwardRef<<ContextMenuPrimitive.SubContentref={ref}className={cn(- 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-foreground-light shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-overlay p-1 text-foreground-light shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',className)}{...props}@@ -96,7 +96,7 @@ const ContextMenuCheckboxItem = React.forwardRef<<ContextMenuPrimitive.CheckboxItemref={ref}className={cn(- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-xs outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',className)}checked={checked}@@ -119,7 +119,7 @@ const ContextMenuRadioItem = React.forwardRef<<ContextMenuPrimitive.RadioItemref={ref}className={cn(- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-xs outline-none focus:bg-selection focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',className)}{...props}@@ -142,7 +142,7 @@ const ContextMenuLabel = React.forwardRef<>(({ className, inset, ...props }, ref) => (<ContextMenuPrimitive.Labelref={ref}- className={cn('px-2 py-1.5 text-sm font-semibold text-foreground', inset && 'pl-8', className)}+ className={cn('px-2 py-1.5 text-xs text-foreground-light', inset && 'pl-8', className)}{...props}/>))