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 && (
<div
className="mind-popup-response__preview"
style={{
opacity: loading ? 0.85 : 1,
}}
>
<div className="mind-popup-response__preview">
<BlockPreview blocks={response} viewportWidth={800} />
</div>
)}
{loading && <div className="mind-popup-cursor" />}
</div>
);
},

View file

@ -5,16 +5,6 @@
/* Optimize repaints */
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 {