Skip to content

Commit da47317

Browse files
authored
💄 style: fix sub topic width in md responsive (#8443)
1 parent 53c9e37 commit da47317

File tree

1 file changed

+3
-1
lines changed
  • src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop

1 file changed

+3
-1
lines changed

src/app/[variants]/(main)/chat/(workspace)/_layout/Desktop/Portal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ const PortalPanel = memo(({ children }: PropsWithChildren) => {
7373
expand={showPortal}
7474
maxWidth={CHAT_PORTAL_MAX_WIDTH}
7575
minWidth={
76-
showArtifactUI || showToolUI || showThread ? CHAT_PORTAL_TOOL_UI_WIDTH : CHAT_PORTAL_WIDTH
76+
(showArtifactUI || showToolUI || showThread) && md
77+
? CHAT_PORTAL_TOOL_UI_WIDTH
78+
: CHAT_PORTAL_WIDTH
7779
}
7880
mode={md ? 'fixed' : 'float'}
7981
onSizeChange={handleSizeChange}

0 commit comments

Comments
 (0)