diff --git a/src/components/QuickMenu/RecursiveItem.tsx b/src/components/QuickMenu/RecursiveItem.tsx index 5fd51b71..223e3a9c 100644 --- a/src/components/QuickMenu/RecursiveItem.tsx +++ b/src/components/QuickMenu/RecursiveItem.tsx @@ -12,7 +12,7 @@ export const RecursiveItem = ({ item, handleGenerate }: RecursiveItemProps) => { if (item.prompt && !(item.children as [Prompt] | undefined)?.length) { return ( handleGenerate(item.prompt)} > {item.name} @@ -24,12 +24,12 @@ export const RecursiveItem = ({ item, handleGenerate }: RecursiveItemProps) => { return ( - + {item.name} {item.children.map((item) => ( diff --git a/src/components/QuickMenu/index.tsx b/src/components/QuickMenu/index.tsx index b12bd9b8..660561b8 100644 --- a/src/components/QuickMenu/index.tsx +++ b/src/components/QuickMenu/index.tsx @@ -7,12 +7,6 @@ import { generatePromptInSidebar } from '../../lib/generatePromptInSidebar' import { RecursiveItem } from './RecursiveItem' import './index.css' -export const ContentClassNames = - 'cdx-flex cdx-flex-col cdx-min-w-[150px] cdx-gap-2 cdx-backdrop-blur-sm !cdx-font-sans cdx-m-2 cdx-bg-neutral-50 cdx-shadow-md cdx-p-2 cdx-rounded dark:cdx-bg-neutral-800 cdx-text-neutral-800 dark:cdx-text-neutral-100' - -export const ItemClassNames = - 'cdx-p-1 cdx-rounded cdx-border-0 cdx-select-none cdx-outline-0 cdx-text-sm cdx-flex cdx-items-center cdx-justify-between data-[highlighted]:cdx-bg-neutral-200 data-[highlighted]:dark:cdx-bg-neutral-600' - interface QuickMenuProps { selectedText: string setMenuOpen: (open: boolean) => void @@ -61,7 +55,7 @@ export const QuickMenu = ({ selectedText, setMenuOpen }: QuickMenuProps) => { {prompts diff --git a/src/components/Sidebar/chat/ChangeChatModel.tsx b/src/components/Sidebar/chat/ChangeChatModel.tsx index 1494a36c..a9c7fe86 100644 --- a/src/components/Sidebar/chat/ChangeChatModel.tsx +++ b/src/components/Sidebar/chat/ChangeChatModel.tsx @@ -7,7 +7,7 @@ const ChangeChatModel = () => { const { availableModels, activeChatModel, setActiveChatModel } = useChatModels() return ( -
+