sync hidden sidebar layout with mobile

This commit is contained in:
Shantur Rathore
2025-12-06 22:34:30 +00:00
parent b0650a283e
commit 3373e23a41
5 changed files with 46 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ export interface MessageSectionProps {
registerScrollToBottom?: (fn: () => void) => void
showSidebarToggle?: boolean
onSidebarToggle?: () => void
forceCompactStatusLayout?: boolean
}
export default function MessageSection(props: MessageSectionProps) {
@@ -358,6 +359,7 @@ export default function MessageSection(props: MessageSectionProps) {
formatTokens={formatTokens}
showSidebarToggle={props.showSidebarToggle}
onSidebarToggle={props.onSidebarToggle}
forceCompactStatusLayout={props.forceCompactStatusLayout}
/>
<div class="message-stream" ref={setContainerRef} onScroll={handleScroll}>