UX: start progress dot animation instantly if it's the only content (#437)
This commit is contained in:
parent
4b4aedb50f
commit
900df4e8c8
|
@ -57,18 +57,26 @@ article.streaming nav.post-controls .actions button.cancel-streaming {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
article.streaming .cooked .progress-dot::after {
|
article.streaming .cooked {
|
||||||
content: "\25CF";
|
.progress-dot::after {
|
||||||
font-family: Söhne Circle, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
|
content: "\25CF";
|
||||||
Cantarell, Noto Sans, sans-serif;
|
font-family: Söhne Circle, system-ui, -apple-system, Segoe UI, Roboto,
|
||||||
line-height: normal;
|
Ubuntu, Cantarell, Noto Sans, sans-serif;
|
||||||
margin-left: 0.25rem;
|
line-height: normal;
|
||||||
vertical-align: baseline;
|
margin-left: 0.25rem;
|
||||||
|
vertical-align: baseline;
|
||||||
|
animation: flashing 1.5s 3s infinite;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 1rem;
|
||||||
|
color: var(--tertiary-medium);
|
||||||
|
}
|
||||||
|
|
||||||
animation: flashing 1.5s 3s infinite;
|
> .progress-dot:only-child::after {
|
||||||
display: inline-block;
|
// if the progress dot is the only content
|
||||||
font-size: 1rem;
|
// we are likely waiting longer for a response
|
||||||
color: var(--tertiary-medium);
|
// so it can start animating instantly
|
||||||
|
animation: flashing 1.5s infinite;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ai-bot-available-bot-options {
|
.ai-bot-available-bot-options {
|
||||||
|
|
Loading…
Reference in New Issue