From 141b4a3d8d849ce77decd16a02051080ab788011 Mon Sep 17 00:00:00 2001 From: Yash Date: Tue, 9 Apr 2024 06:20:34 +0000 Subject: [PATCH] test --- apps/web/src/components/Main.tsx | 74 +++++++++++++++++++++----------- apps/web/tailwind.config.ts | 2 +- 2 files changed, 50 insertions(+), 26 deletions(-) diff --git a/apps/web/src/components/Main.tsx b/apps/web/src/components/Main.tsx index 3c338526..813c0d62 100644 --- a/apps/web/src/components/Main.tsx +++ b/apps/web/src/components/Main.tsx @@ -2,7 +2,7 @@ import { useCallback, useEffect, useRef, useState } from "react"; import { FilterCombobox } from "./Sidebar/FilterCombobox"; import { Textarea2 } from "./ui/textarea"; -import { ArrowRight } from "lucide-react"; +import { ArrowRight, ArrowUp } from "lucide-react"; import { MemoryDrawer } from "./MemoryDrawer"; import useViewport from "@/hooks/useViewport"; import { motion } from "framer-motion"; @@ -236,32 +236,56 @@ export function Chat({ sidebarOpen }: { sidebarOpen: boolean }) {
- setValue(e.target.value), - }} - > -
- - -
-
+
+ {/* setValue(e.target.value), + }} + > +
+ +
+
*/} + + setValue(e.target.value), + }} + > +
+ +
+
+
); } diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.ts index 39457a34..46f9b5ff 100644 --- a/apps/web/tailwind.config.ts +++ b/apps/web/tailwind.config.ts @@ -63,7 +63,7 @@ const config: Config = { }, }, }, - safelist: ["pb-[20vh]", "pb-5"], + safelist: ["pb-[20vh]", "pb-5", "h-[2em]", "max-h-[2em]", "p-0"], darkMode: "class", plugins: [ require("tailwindcss-animate"),