diff --git a/frontend/app/aipanel/aimessage.tsx b/frontend/app/aipanel/aimessage.tsx
index f3a1f91c9..e6fb70ce1 100644
--- a/frontend/app/aipanel/aimessage.tsx
+++ b/frontend/app/aipanel/aimessage.tsx
@@ -223,7 +223,7 @@ export const AIMessage = memo(({ message, isStreaming }: AIMessageProps) => {
className={cn(
"px-2 rounded-lg [&>*:first-child]:!mt-0",
message.role === "user"
- ? "py-2 bg-accent-800 text-white max-w-[calc(90%-10px)]"
+ ? "py-2 bg-accent-800 text-white max-w-[calc(100%-50px)] @w450:max-w-[calc(100%-105px)]"
: "min-w-[min(100%,500px)]"
)}
>
diff --git a/frontend/app/aipanel/aipanel.tsx b/frontend/app/aipanel/aipanel.tsx
index 300840488..79ae04fcc 100644
--- a/frontend/app/aipanel/aipanel.tsx
+++ b/frontend/app/aipanel/aipanel.tsx
@@ -464,7 +464,7 @@ const AIPanelComponentInner = memo(() => {
ref={containerRef}
data-waveai-panel="true"
className={cn(
- "bg-gray-900 flex flex-col relative",
+ "@container bg-gray-900 flex flex-col relative",
model.inBuilder ? "mt-0 h-full" : "mt-1 h-[calc(100%-4px)]",
(isDragOver || isReactDndDragOver) && "bg-gray-800 border-accent",
isFocused ? "border-2 border-accent" : "border-2 border-transparent"
diff --git a/frontend/app/aipanel/aipanelheader.tsx b/frontend/app/aipanel/aipanelheader.tsx
index d6b5d43cb..a2c4d586c 100644
--- a/frontend/app/aipanel/aipanelheader.tsx
+++ b/frontend/app/aipanel/aipanelheader.tsx
@@ -16,7 +16,7 @@ export const AIPanelHeader = memo(() => {
};
return (
-
+
Wave AI
diff --git a/frontend/app/aipanel/thinkingmode.tsx b/frontend/app/aipanel/thinkingmode.tsx
index cb69a5093..99cc85bc6 100644
--- a/frontend/app/aipanel/thinkingmode.tsx
+++ b/frontend/app/aipanel/thinkingmode.tsx
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import { atoms } from "@/app/store/global";
+import { cn } from "@/util/util";
import { useAtomValue } from "jotai";
import { memo, useRef, useState } from "react";
import { WaveAIModel } from "./waveai-model";
@@ -64,11 +65,16 @@ export const ThinkingLevelDropdown = memo(() => {
diff --git a/frontend/tailwindsetup.css b/frontend/tailwindsetup.css
index a0963065d..cf400b209 100644
--- a/frontend/tailwindsetup.css
+++ b/frontend/tailwindsetup.css
@@ -65,6 +65,7 @@
--ansi-brightcyan: #b7b8cb;
--ansi-brightwhite: #f0f0f0;
+ --container-w450: 450px;
--container-xs: 300px;
--container-xxs: 200px;
--container-tiny: 120px;
diff --git a/package-lock.json b/package-lock.json
index ec70442dd..6a62724f7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "waveterm",
- "version": "0.12.2",
+ "version": "0.12.3-beta.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "waveterm",
- "version": "0.12.2",
+ "version": "0.12.3-beta.1",
"hasInstallScript": true,
"license": "Apache-2.0",
"workspaces": [