fix: #522 resizable side bar

This commit is contained in:
Yidadaa
2023-04-10 00:54:17 +08:00
parent eae5a8a2e6
commit 6ae61c5357
4 changed files with 89 additions and 4 deletions

View File

@@ -53,6 +53,7 @@ export interface ChatConfig {
theme: Theme;
tightBorder: boolean;
sendPreviewBubble: boolean;
sidebarWidth: number;
disablePromptHint: boolean;
@@ -141,6 +142,7 @@ const DEFAULT_CONFIG: ChatConfig = {
theme: Theme.Auto as Theme,
tightBorder: false,
sendPreviewBubble: true,
sidebarWidth: 300,
disablePromptHint: false,