mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-03 02:48:41 +08:00
remove cursor animation
This commit is contained in:
parent
f80c6ac863
commit
d04385435a
2 changed files with 1 additions and 17 deletions
|
@ -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>
|
||||
);
|
||||
},
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue