Simplify thinking state
This commit is contained in:
committed by
Stanko K.R.
parent
07f3bcd225
commit
de74f8ded0
@@ -35,6 +35,11 @@
|
||||
.input--textarea {
|
||||
--input-padding: 0.5em !important;
|
||||
}
|
||||
|
||||
.conversation:has(.conversation__thinking-indicator--thinking) & {
|
||||
animation: pulse 1.5s infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.conversation__message {
|
||||
@@ -85,18 +90,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.conversation__thinking-indicator {
|
||||
padding: var(--block-space);
|
||||
}
|
||||
|
||||
.conversation__thinking-indicator--ready {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.conversation__thinking-indicator--thinking {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.conversation__transcript {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
<%= tag.div(
|
||||
id: dom_id(conversation, :thinking_indicator),
|
||||
class: "conversation__thinking-indicator conversation__thinking-indicator--#{conversation.state}"
|
||||
) do %>
|
||||
<span class="spinner"></span> Thinking...
|
||||
<% end %>
|
||||
<%= tag.div id: dom_id(conversation, :thinking_indicator),
|
||||
class: "conversation__thinking-indicator conversation__thinking-indicator--#{conversation.state}" %>
|
||||
|
||||
Reference in New Issue
Block a user