Skip to content

Commit a7e5e7c

Browse files
committed
chore: fix desktop display for demo
1 parent 899f72e commit a7e5e7c

File tree

1 file changed

+2
-2
lines changed
  • typescript-sdk/apps/dojo/src/app/[integrationId]/feature/tool_based_generative_ui

1 file changed

+2
-2
lines changed

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/tool_based_generative_ui/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function ToolBasedGenerativeUI({ params }: ToolBasedGenerativeUIP
5151
agent="tool_based_generative_ui"
5252
>
5353
<div
54-
className={`${isMobile ? 'h-screen' : 'min-h-full'} w-full relative overflow-hidden`}
54+
className={`${isMobile ? 'h-screen' : 'min-h-full flex'} w-full relative overflow-hidden`}
5555
style={
5656
{
5757
// "--copilot-kit-primary-color": "#222",
@@ -336,7 +336,7 @@ function Haiku() {
336336
<div className="flex h-full w-full">
337337
{/* Thumbnail List */}
338338
{Boolean(generatedHaikus.length) && !isMobile && (
339-
<div className="w-40 p-4 border-r border-gray-200 overflow-y-auto overflow-x-hidden max-w-1">
339+
<div className="w-40 p-4 border-r border-gray-200 overflow-y-auto overflow-x-hidden">
340340
{generatedHaikus.map((haiku, index) => (
341341
<div
342342
key={index}

0 commit comments

Comments
 (0)