diff options
| author | Dhravya <[email protected]> | 2024-06-29 03:02:22 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-29 03:02:22 -0500 |
| commit | 526268f99740edebe1227a70e6eafd99a072ea49 (patch) | |
| tree | 56a9987b04c6d7dfbe1a4abea9b58c1a18ec7e11 /packages | |
| parent | design improvement (diff) | |
| download | supermemory-526268f99740edebe1227a70e6eafd99a072ea49.tar.xz supermemory-526268f99740edebe1227a70e6eafd99a072ea49.zip | |
more tweaks
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/ui/shadcn/combobox.tsx | 6 | ||||
| -rw-r--r-- | packages/ui/shadcn/command.tsx | 2 | ||||
| -rw-r--r-- | packages/ui/shadcn/dialog.tsx | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/packages/ui/shadcn/combobox.tsx b/packages/ui/shadcn/combobox.tsx index 9ab54ef1..0caa4a45 100644 --- a/packages/ui/shadcn/combobox.tsx +++ b/packages/ui/shadcn/combobox.tsx @@ -56,11 +56,9 @@ const ComboboxWithCreate: React.FC<ComboboxWithCreateProps> = ({ <Button onClick={async () => onSubmit(inputValue)} variant="link"> {createNewMessage} "{inputValue}" </Button> + <p>Start by creating a space and adding content to it</p> </CommandEmpty> - <CommandGroup - className="hidden group-focus-within:block" - heading="Spaces" - > + <CommandGroup className="hidden group-focus-within:block"> {options.map((option, idx) => ( <CommandItem key={`opt-${idx}`} diff --git a/packages/ui/shadcn/command.tsx b/packages/ui/shadcn/command.tsx index dfc54283..e3b22841 100644 --- a/packages/ui/shadcn/command.tsx +++ b/packages/ui/shadcn/command.tsx @@ -43,7 +43,7 @@ const CommandInput = React.forwardRef< <CommandPrimitive.Input ref={ref} className={cn( - "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", + "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted disabled:cursor-not-allowed disabled:opacity-50", className, )} {...props} diff --git a/packages/ui/shadcn/dialog.tsx b/packages/ui/shadcn/dialog.tsx index f162360f..1dc5f801 100644 --- a/packages/ui/shadcn/dialog.tsx +++ b/packages/ui/shadcn/dialog.tsx @@ -21,7 +21,7 @@ const DialogOverlay = React.forwardRef< <DialogPrimitive.Overlay ref={ref} className={cn( - "fixed inset-0 z-50 bg-black/30 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", + "fixed inset-0 z-50 bg-black/20 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className, )} {...props} |