We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c9e37 commit da47317Copy full SHA for da47317
src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/Portal.tsx
@@ -73,7 +73,9 @@ const PortalPanel = memo(({ children }: PropsWithChildren) => {
73
expand={showPortal}
74
maxWidth={CHAT_PORTAL_MAX_WIDTH}
75
minWidth={
76
- showArtifactUI || showToolUI || showThread ? CHAT_PORTAL_TOOL_UI_WIDTH : CHAT_PORTAL_WIDTH
+ (showArtifactUI || showToolUI || showThread) && md
77
+ ? CHAT_PORTAL_TOOL_UI_WIDTH
78
+ : CHAT_PORTAL_WIDTH
79
}
80
mode={md ? 'fixed' : 'float'}
81
onSizeChange={handleSizeChange}
0 commit comments