mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
fix: fade the dictation timer in and out
This commit is contained in:
parent
0e2dd60f14
commit
c56bdd5f09
1 changed files with 6 additions and 5 deletions
|
|
@ -378,14 +378,15 @@ function Bar({
|
|||
<Thinking />
|
||||
<TokenUsage index={index} conversation={conversation} isSubmitting={isSubmitting} />
|
||||
</div>
|
||||
{/* Fades in place. The elapsed time is not one of the things that
|
||||
stepped aside, so it has nowhere to travel from. */}
|
||||
{/* Arrives and leaves in depth. The elapsed time is not one of the
|
||||
things that stepped aside, so it has nowhere to travel from:
|
||||
it comes forward into the row and recedes back out of it. */}
|
||||
<div
|
||||
aria-hidden={!dictating}
|
||||
className={cn(
|
||||
'col-start-1 row-start-1 flex items-center justify-end px-1',
|
||||
'transition-opacity duration-200 ease-out',
|
||||
dictating ? 'opacity-100' : 'pointer-events-none opacity-0',
|
||||
'col-start-1 row-start-1 flex origin-center items-center justify-end px-1',
|
||||
'transition-[opacity,transform] duration-200 ease-out',
|
||||
dictating ? 'scale-100 opacity-100' : 'pointer-events-none scale-90 opacity-0',
|
||||
)}
|
||||
>
|
||||
<span className="text-xs tabular-nums text-text-secondary">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue