From d04385435a04cee8b8300967304004a7b634f3e4 Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 11 Dec 2024 15:34:40 +0300 Subject: [PATCH] remove cursor animation --- src/editor/popup/components/ai-response/index.js | 8 +------- src/editor/popup/components/ai-response/style.scss | 10 ---------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/editor/popup/components/ai-response/index.js b/src/editor/popup/components/ai-response/index.js index cb44024..fbb4fd9 100644 --- a/src/editor/popup/components/ai-response/index.js +++ b/src/editor/popup/components/ai-response/index.js @@ -25,16 +25,10 @@ const AIResponse = memo( }} > {response.length > 0 && ( -
+
)} - {loading &&
}
); }, diff --git a/src/editor/popup/components/ai-response/style.scss b/src/editor/popup/components/ai-response/style.scss index 4d23f7d..c7a73df 100644 --- a/src/editor/popup/components/ai-response/style.scss +++ b/src/editor/popup/components/ai-response/style.scss @@ -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 {