Skip to content

Commit d212186

Browse files
committed
chore: add a comment about how markdown stream dot pulse works
1 parent 9831ab5 commit d212186

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/markdown-stream/markdown-stream.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ pre:has(.code-copy-button) {
6666
}
6767

6868
.markdown-stream-dot {
69+
// The stream dot is appended with each streaming chunk update, so the pulse animation
70+
// only shows up when streaming pauses but isn't complete.
6971
animation: markdown-stream-dot-pulse 2s infinite cubic-bezier(0.18, 0.89, 0.32, 1.28);
7072
display: inline-block;
7173
transform-origin: center;

0 commit comments

Comments
 (0)