Add 42px min height to the statistics to avoid flickering height problems + remove unused imports
This commit is contained in:
parent
a574409432
commit
4659a36ffd
Binary file not shown.
|
|
@ -304,7 +304,7 @@
|
|||
</div>
|
||||
|
||||
{#if showMessageStats}
|
||||
<div class="flex w-full flex-col items-end justify-center gap-0.5 md:w-auto">
|
||||
<div class="flex min-h-[42px] w-full flex-col items-end justify-center gap-0.5 md:w-auto">
|
||||
{#if notebookStore.totalTokens > 0}
|
||||
<Tooltip.Root>
|
||||
<Tooltip.Trigger>
|
||||
|
|
|
|||
|
|
@ -7,10 +7,7 @@ import type {
|
|||
ApiChatCompletionToolCall,
|
||||
ApiChatCompletionToolCallDelta,
|
||||
ApiChatMessageContentPart,
|
||||
ApiChatMessageData,
|
||||
ApiCompletionRequest,
|
||||
ApiCompletionResponse,
|
||||
ApiCompletionStreamChunk
|
||||
ApiChatMessageData
|
||||
} from '$lib/types/api';
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ import { ChatService } from '$lib/services/chat';
|
|||
import type {
|
||||
ApiCompletionRequest,
|
||||
ApiCompletionResponse,
|
||||
ApiCompletionStreamChunk,
|
||||
ApiErrorResponse
|
||||
ApiCompletionStreamChunk
|
||||
} from '$lib/types/api';
|
||||
import type { ChatMessageTimings, ChatMessagePromptProgress } from '$lib/types/chat';
|
||||
import type { SettingsChatServiceOptions } from '$lib/types/settings';
|
||||
|
|
|
|||
Loading…
Reference in New Issue