change background color of prompt box (#891)

This commit is contained in:
Kerem Yilmaz
2024-09-30 09:30:53 -07:00
committed by GitHub
parent 59c28f9a02
commit 81267129c8

View File

@@ -145,14 +145,9 @@ function PromptBox() {
<span className="text-2xl"> <span className="text-2xl">
What task would you like to accomplish? What task would you like to accomplish?
</span> </span>
<div <div className="flex w-[35rem] max-w-xl items-center rounded-xl bg-slate-700 py-2 pr-4">
className="flex w-[35rem] max-w-xl items-center rounded-xl border border-slate-700 py-2 pr-4"
style={{
background: "rgba(248, 250, 252, 0.05)",
}}
>
<Textarea <Textarea
className="min-h-0 resize-none rounded-xl border-transparent px-4 text-slate-400 hover:border-transparent focus-visible:ring-0" className="min-h-0 resize-none rounded-xl border-transparent px-4 hover:border-transparent focus-visible:ring-0"
value={prompt} value={prompt}
onChange={(e) => setPrompt(e.target.value)} onChange={(e) => setPrompt(e.target.value)}
placeholder="Enter your prompt..." placeholder="Enter your prompt..."