From bae39a95f137c89d450d1b4c64b838efb1de88e6 Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Tue, 26 Nov 2024 22:22:44 +0530 Subject: [PATCH] fix: correct border styling and adjust padding in form component --- components/ui/form-component.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/ui/form-component.tsx b/components/ui/form-component.tsx index d94fa9b..bf7877e 100644 --- a/components/ui/form-component.tsx +++ b/components/ui/form-component.tsx @@ -433,7 +433,6 @@ const FormComponent: React.FC = ({ return (
0 || uploadQueue.length > 0 ? "bg-gray-100/70 dark:bg-neutral-800 p-1" : "bg-transparent" @@ -481,9 +480,11 @@ const FormComponent: React.FC = ({ "overflow-y-auto overflow-x-hidden", "text-base leading-relaxed", "bg-neutral-100 dark:bg-neutral-900", + "boder border-neutral-200 dark:border-neutral-700", + "focus:border-neutral-300 dark:focus:border-neutral-600", "text-neutral-900 dark:text-neutral-100", "focus:ring-2 focus:ring-neutral-300 dark:focus:ring-neutral-600", - "px-4 pt-3 pb-10" // Increased bottom padding to prevent overlap + "px-4 pt-3 pb-5" // Increased bottom padding to prevent overlap )} rows={3} onKeyDown={(event) => { @@ -499,7 +500,9 @@ const FormComponent: React.FC = ({ />