Spaces:
Sleeping
Sleeping
fix height issue
Browse filesFiles changed (2)
339 unmodified lines340341342343344345339 unmodified lines{conversation}{viewCode}{hfToken}on:addMessage={() => addMessage(conversationIdx)}on:deleteMessage={e => deleteMessage(conversationIdx, e.detail)}/>339 unmodified lines340341342343344345346339 unmodified lines{conversation}{viewCode}{hfToken}{compareActive}on:addMessage={() => addMessage(conversationIdx)}on:deleteMessage={e => deleteMessage(conversationIdx, e.detail)}/>
10 unmodified lines11121314151646 unmodified lines6364656667686910 unmodified linesexport let loading: boolean;export let viewCode: boolean;export let hfToken: string;let shouldScrollToBottom = true;let isProgrammaticScroll = true;46 unmodified lines</script><divclass="flex max-h-[calc(100dvh-5.8rem)] flex-col overflow-y-auto overflow-x-hidden @container"class:animate-pulse={loading && !conversation.streaming}bind:this={messageContainer}on:scroll={() => {10 unmodified lines1112131415161746 unmodified lines64656667686970717210 unmodified linesexport let loading: boolean;export let viewCode: boolean;export let hfToken: string;export let compareActive: boolean;let shouldScrollToBottom = true;let isProgrammaticScroll = true;46 unmodified lines</script><divclass="flex flex-col overflow-y-auto overflow-x-hidden @container {compareActive? 'max-h-[calc(100dvh-5.8rem-2.5rem)]': 'max-h-[calc(100dvh-5.8rem)]'}"class:animate-pulse={loading && !conversation.streaming}bind:this={messageContainer}on:scroll={() => {
src/lib/components/InferencePlayground/InferencePlayground.svelte+1
src/lib/components/InferencePlayground/InferencePlaygroundConversation.svelte+4-1