Spaces:
Sleeping
Sleeping
fix height issue
Browse filesFiles changed (2)
339 unmodified lines340341342343344345346339 unmodified lines {conversation} {viewCode} {hfToken} {compareActive} on:addMessage={() => addMessage(conversationIdx)} on:deleteMessage={e => deleteMessage(conversationIdx, e.detail)} />10 unmodified lines1112131415161746 unmodified lines6465666667686970717210 unmodified lines export 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>
<div class="flex max-h-[calc(100dvh-5.8rem)] flex-col overflow-y-auto overflow-x-hidden @container" class="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