Skip to content

Commit a04e39c

Browse files
committed
Bigger sidebar
1 parent 9541d8f commit a04e39c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/src/components/ChatApp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const ChatApp: React.FC<ChatAppProps> = () => {
115115
onModelChange={handleModelChange}
116116
apiKeyUpdateTrigger={apiKeyUpdateTrigger}
117117
/>
118-
<div className="flex flex-col flex-grow h-full w-[calc(100%-16rem)]">
118+
<div className="flex flex-col flex-grow h-full w-[calc(100%-16rem)] lg:w-[calc(100%-32rem)]">
119119
<ChatNavbar
120120
sidebarVisible={sidebarVisible}
121121
setSidebarVisible={setSidebarVisible}

demo/src/components/ChatSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const ChatSidebar: React.FC<ChatSidebarProps> = ({
7070
7171
${
7272
sidebarVisible
73-
? "w-64 translate-x-0"
73+
? "w-64 lg:w-[32rem] translate-x-0"
7474
: "w-0 -translate-x-full md:translate-x-0"
7575
}
7676
`}

0 commit comments

Comments
 (0)