diff options
| author | Yash <[email protected]> | 2024-04-03 10:48:29 +0000 |
|---|---|---|
| committer | Yash <[email protected]> | 2024-04-03 10:48:29 +0000 |
| commit | bed6d65ffa6a3886d77d497463748983c822100d (patch) | |
| tree | c88c0292adec220659cda32a45cc8cfcd02213ac /apps/web/src/components/ui | |
| parent | remove debug lie (diff) | |
| download | supermemory-bed6d65ffa6a3886d77d497463748983c822100d.tar.xz supermemory-bed6d65ffa6a3886d77d497463748983c822100d.zip | |
animation with framer motion
Diffstat (limited to 'apps/web/src/components/ui')
| -rw-r--r-- | apps/web/src/components/ui/command.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/ui/command.tsx b/apps/web/src/components/ui/command.tsx index 54070776..74b7f2e8 100644 --- a/apps/web/src/components/ui/command.tsx +++ b/apps/web/src/components/ui/command.tsx @@ -15,7 +15,7 @@ const Command = React.forwardRef< <CommandPrimitive ref={ref} className={cn( - "bg-rgray-3 text-rgray-11 flex h-full w-full flex-col overflow-hidden rounded-md", + "bg-rgray-3 text-rgray-11 flex h-full w-full flex-col overflow-hidden rounded-md focus-visible:outline-none [&>[cmdk-list-sizer]]:max-h-[250px] [&>[cmdk-list-sizer]]:overflow-y-scroll", className, )} {...props} @@ -120,7 +120,7 @@ const CommandItem = React.forwardRef< <CommandPrimitive.Item ref={ref} className={cn( - "aria-selected:bg-rgray-5 aria-selected:text-rgray-12 relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50", + "aria-selected:bg-rgray-5 aria-selected:text-rgray-12 relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm opacity-70 outline-none data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50", className, )} {...props} |