remove cursor animation

This commit is contained in:
Nikita 2024-12-11 15:34:40 +03:00
parent f80c6ac863
commit d04385435a
2 changed files with 1 additions and 17 deletions

View file

@ -25,16 +25,10 @@ const AIResponse = memo(
}} }}
> >
{response.length > 0 && ( {response.length > 0 && (
<div <div className="mind-popup-response__preview">
className="mind-popup-response__preview"
style={{
opacity: loading ? 0.85 : 1,
}}
>
<BlockPreview blocks={response} viewportWidth={800} /> <BlockPreview blocks={response} viewportWidth={800} />
</div> </div>
)} )}
{loading && <div className="mind-popup-cursor" />}
</div> </div>
); );
}, },

View file

@ -5,16 +5,6 @@
/* Optimize repaints */ /* Optimize repaints */
contain: content; contain: content;
/* Smooth typing cursor */
.mind-popup-cursor {
display: inline-block;
width: 1.5px;
height: 1em;
background: currentColor;
margin-left: 2px;
animation: mind-cursor-blink 1s step-end infinite;
}
} }
@keyframes mind-cursor-blink { @keyframes mind-cursor-blink {