Skip to content

Commit 5d84654

Browse files
committed
Update AIChat.tsx
1 parent 8e4c94a commit 5d84654

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

packages/gitbook/src/components/AIChat/AIChat.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from '../AI';
1515
import { EmbeddableFrame } from '../Embeddable/EmbeddableFrame';
1616
import { useNow } from '../hooks';
17-
import { Button } from '../primitives';
17+
import { Button, DropdownMenuSeparator } from '../primitives';
1818
import { DropdownMenu, DropdownMenuItem } from '../primitives';
1919
import { AIChatIcon } from './AIChatIcon';
2020
import { AIChatInput } from './AIChatInput';
@@ -111,8 +111,18 @@ export function AIChat(props: { trademark: boolean }) {
111111
}
112112
className="size-3 shrink-0 text-tint-subtle"
113113
/>
114-
{chat.size === 'default' ? 'Maximize' : 'Minimize'}
114+
<div className="flex flex-col gap-0.5">
115+
<p className="font-medium">
116+
{chat.size === 'default' ? 'Maximize' : 'Minimize'}
117+
</p>
118+
<p className="text-tint text-xs">
119+
{chat.size === 'default'
120+
? 'Longer, more detailed answers'
121+
: 'Shorter, more concise answers'}
122+
</p>
123+
</div>
115124
</DropdownMenuItem>
125+
<DropdownMenuSeparator />
116126
<DropdownMenuItem
117127
onClick={() => {
118128
chatController.clear();

0 commit comments

Comments
 (0)