Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- static/index.html +4 -2
static/index.html
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
22 |
}
|
23 |
#chat-history {
|
24 |
-
height:
|
25 |
overflow-y: auto;
|
26 |
margin-bottom: 10px;
|
27 |
padding: 10px;
|
@@ -44,11 +44,13 @@
|
|
44 |
background: linear-gradient(135deg, #d1ecf1 0%, #a8d8e0 100%);
|
45 |
color: #0c5460;
|
46 |
margin-left: auto;
|
|
|
47 |
}
|
48 |
.bot-message {
|
49 |
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
|
50 |
color: #721c24;
|
51 |
margin-right: auto;
|
|
|
52 |
}
|
53 |
.user-icon, .bot-icon {
|
54 |
margin-right: 8px;
|
@@ -174,7 +176,7 @@
|
|
174 |
function showTypingIndicator() {
|
175 |
const typingElement = document.createElement("div");
|
176 |
typingElement.className = "typing-indicator";
|
177 |
-
typingElement.innerText = "
|
178 |
document.getElementById("chat-history").appendChild(typingElement);
|
179 |
}
|
180 |
|
|
|
21 |
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
22 |
}
|
23 |
#chat-history {
|
24 |
+
height: 530px;
|
25 |
overflow-y: auto;
|
26 |
margin-bottom: 10px;
|
27 |
padding: 10px;
|
|
|
44 |
background: linear-gradient(135deg, #d1ecf1 0%, #a8d8e0 100%);
|
45 |
color: #0c5460;
|
46 |
margin-left: auto;
|
47 |
+
border-radius: 15px 15px 0 15px;
|
48 |
}
|
49 |
.bot-message {
|
50 |
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
|
51 |
color: #721c24;
|
52 |
margin-right: auto;
|
53 |
+
border-radius: 15px 15px 15px 0;
|
54 |
}
|
55 |
.user-icon, .bot-icon {
|
56 |
margin-right: 8px;
|
|
|
176 |
function showTypingIndicator() {
|
177 |
const typingElement = document.createElement("div");
|
178 |
typingElement.className = "typing-indicator";
|
179 |
+
typingElement.innerText = "Clara is typing...";
|
180 |
document.getElementById("chat-history").appendChild(typingElement);
|
181 |
}
|
182 |
|