Spaces:
Running
Running
UI Stuffs
Browse files
components/editor/ask-ai/index.tsx
CHANGED
|
@@ -255,12 +255,11 @@ export function AskAI({
|
|
| 255 |
)}
|
| 256 |
<div className="w-full relative flex items-center justify-between">
|
| 257 |
{isAiWorking && (
|
| 258 |
-
<div className="absolute bg-neutral-800 rounded-lg
|
| 259 |
<div className="flex items-center justify-start gap-2">
|
| 260 |
<Loading overlay={false} className="!size-4" />
|
| 261 |
<p className="text-neutral-400 text-sm">
|
| 262 |
-
|
| 263 |
-
AI is coding...
|
| 264 |
</p>
|
| 265 |
</div>
|
| 266 |
<div
|
|
|
|
| 255 |
)}
|
| 256 |
<div className="w-full relative flex items-center justify-between">
|
| 257 |
{isAiWorking && (
|
| 258 |
+
<div className="absolute bg-neutral-800 rounded-lg top-0 left-4 w-[calc(100%-30px)] h-full z-1 flex items-start pt-3.5 justify-between max-lg:text-sm">
|
| 259 |
<div className="flex items-center justify-start gap-2">
|
| 260 |
<Loading overlay={false} className="!size-4" />
|
| 261 |
<p className="text-neutral-400 text-sm">
|
| 262 |
+
AI is {isThinking ? "thinking" : "coding"}...{" "}
|
|
|
|
| 263 |
</p>
|
| 264 |
</div>
|
| 265 |
<div
|