Skip to content

Commit 8ab6845

Browse files
global-ui-changes (#1670)
1 parent a742586 commit 8ab6845

File tree

24 files changed

+2719
-2989
lines changed

24 files changed

+2719
-2989
lines changed

apps/desktop/src/components/chat/body/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function ChatBody({
3838
className={cn([
3939
"flex-1 overflow-y-auto flex flex-col",
4040
chat.mode === "RightPanelOpen" &&
41-
"border mt-1 rounded-md rounded-b-none",
41+
"border border-neutral-200 mt-1 rounded-md rounded-b-none",
4242
])}
4343
>
4444
<div className="flex-1" />

apps/desktop/src/components/chat/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function ChatHeader({
3636
<div
3737
data-tauri-drag-region={chat.mode === "RightPanelOpen"}
3838
className={cn([
39-
"flex items-center justify-between px-1 py-0.5 border-b border-neutral-200 h-9",
39+
"flex items-center justify-between px-1 border-b border-neutral-200 h-9",
4040
chat.mode === "RightPanelOpen" && "border rounded-md",
4141
])}
4242
>
@@ -197,7 +197,7 @@ function ChatGroupItem({
197197
])}
198198
>
199199
<div className="flex items-center gap-2.5 w-full">
200-
<div className="flex-shrink-0">
200+
<div className="shrink-0">
201201
<MessageCircle
202202
className={cn([
203203
"w-3.5 h-3.5 transition-colors",

apps/desktop/src/components/chat/session.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ export function ChatSession({
153153
}, [chatGroupId, createChatMessage, messages, status]);
154154

155155
return (
156-
<>{children({ messages, sendMessage, regenerate, stop, status, error })}</>
156+
<div className="flex-1 h-full flex flex-col">
157+
{children({ messages, sendMessage, regenerate, stop, status, error })}
158+
</div>
157159
);
158160
}
159161

apps/desktop/src/components/chat/view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function ChatView() {
109109
);
110110

111111
return (
112-
<div className="flex flex-col h-full">
112+
<div className="flex flex-col h-full gap-1">
113113
<ChatHeader
114114
currentChatGroupId={groupId}
115115
onNewChat={handleNewChat}

apps/desktop/src/components/main/body/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export function StandardTabWrapper({
336336
}) {
337337
return (
338338
<div className="flex flex-col h-full">
339-
<div className="flex flex-col rounded-lg border flex-1 overflow-hidden relative">
339+
<div className="flex flex-col rounded-lg border border-neutral-200 flex-1 overflow-hidden relative">
340340
{children}
341341
{floatingButton}
342342
<TabChatButton />

apps/desktop/src/components/main/body/search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function ExpandedSearch({
140140
onBlur?.();
141141
}}
142142
className={cn([
143-
"text-sm",
143+
"text-sm placeholder:text-sm placeholder:text-neutral-400",
144144
"w-full pl-9 h-full",
145145
query ? "pr-9" : showShortcut ? "pr-14" : "pr-4",
146146
"rounded-lg bg-neutral-100 border border-transparent",

apps/desktop/src/components/main/body/sessions/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function TabContentNoteInner({
104104
<div className="px-2">
105105
{showSearchBar ? <SearchBar /> : <OuterHeader sessionId={tab.id} />}
106106
</div>
107-
<div className="mt-2 px-3 flex-shrink-0">
107+
<div className="mt-2 px-3 shrink-0">
108108
<TitleInput tab={tab} />
109109
</div>
110110
<div className="mt-2 px-2 flex-1 min-h-0">

0 commit comments

Comments
 (0)