Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -140,15 +140,37 @@ header {
|
|
140 |
border-radius: 15px;
|
141 |
padding: 20px;
|
142 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
143 |
-
max-height:
|
144 |
width: 80%; /* Wider chat container */
|
145 |
margin: 0 auto;
|
146 |
-
overflow-y: auto;
|
147 |
font-size: 1.1rem;
|
148 |
color: #333;
|
149 |
line-height: 1.6;
|
|
|
|
|
150 |
}
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
.chat-container .user-message {
|
153 |
font-weight: bold;
|
154 |
color: #6a11cb;
|
|
|
140 |
border-radius: 15px;
|
141 |
padding: 20px;
|
142 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
143 |
+
max-height: 400px; /* Increase height for better visibility */
|
144 |
width: 80%; /* Wider chat container */
|
145 |
margin: 0 auto;
|
146 |
+
overflow-y: auto; /* Enable vertical scrolling */
|
147 |
font-size: 1.1rem;
|
148 |
color: #333;
|
149 |
line-height: 1.6;
|
150 |
+
scrollbar-width: thin; /* Thin scrollbar for modern browsers */
|
151 |
+
scrollbar-color: #ff758c #fad0c4; /* Custom scrollbar colors */
|
152 |
}
|
153 |
|
154 |
+
/* Add custom scrollbar styles for webkit browsers */
|
155 |
+
.chat-container::-webkit-scrollbar {
|
156 |
+
width: 10px;
|
157 |
+
}
|
158 |
+
|
159 |
+
.chat-container::-webkit-scrollbar-thumb {
|
160 |
+
background: #ff758c;
|
161 |
+
border-radius: 10px;
|
162 |
+
}
|
163 |
+
|
164 |
+
.chat-container::-webkit-scrollbar-thumb:hover {
|
165 |
+
background: #ff7eb3;
|
166 |
+
}
|
167 |
+
|
168 |
+
.chat-container::-webkit-scrollbar-track {
|
169 |
+
background: #fad0c4;
|
170 |
+
border-radius: 10px;
|
171 |
+
}
|
172 |
+
|
173 |
+
|
174 |
.chat-container .user-message {
|
175 |
font-weight: bold;
|
176 |
color: #6a11cb;
|