Spaces:
Sleeping
Sleeping
Update app_gradio_messenger.py
Browse files- app_gradio_messenger.py +11 -16
app_gradio_messenger.py
CHANGED
|
@@ -204,12 +204,11 @@ body, .gradio-container {
|
|
| 204 |
|
| 205 |
|
| 206 |
.chat-history-wrap {
|
| 207 |
-
flex:
|
| 208 |
-
min-height:
|
| 209 |
-
max-height:
|
| 210 |
-
height:
|
| 211 |
overflow: hidden;
|
| 212 |
-
position: relative;
|
| 213 |
display: flex;
|
| 214 |
flex-direction: column;
|
| 215 |
}
|
|
@@ -222,17 +221,6 @@ body, .gradio-container {
|
|
| 222 |
overflow: hidden !important;
|
| 223 |
}
|
| 224 |
|
| 225 |
-
.chat-history-wrap > .gradio-html,
|
| 226 |
-
.chat-history-wrap > .gradio-html > .html-container,
|
| 227 |
-
.chat-history-wrap > .gradio-html > .html-container > div {
|
| 228 |
-
flex: 1 1 0;
|
| 229 |
-
min-height: 0 !important;
|
| 230 |
-
max-height: 100% !important;
|
| 231 |
-
overflow: hidden !important;
|
| 232 |
-
}
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
.chat-head {
|
| 237 |
padding: 18px 20px 14px;
|
| 238 |
border-bottom: 1px solid var(--messenger-line);
|
|
@@ -427,6 +415,13 @@ body, .gradio-container {
|
|
| 427 |
max-height: 70vh;
|
| 428 |
height: 70vh;
|
| 429 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 430 |
}
|
| 431 |
""".strip()
|
| 432 |
|
|
|
|
| 204 |
|
| 205 |
|
| 206 |
.chat-history-wrap {
|
| 207 |
+
flex: 0 0 520px;
|
| 208 |
+
min-height: 520px;
|
| 209 |
+
max-height: 520px;
|
| 210 |
+
height: 520px;
|
| 211 |
overflow: hidden;
|
|
|
|
| 212 |
display: flex;
|
| 213 |
flex-direction: column;
|
| 214 |
}
|
|
|
|
| 221 |
overflow: hidden !important;
|
| 222 |
}
|
| 223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
.chat-head {
|
| 225 |
padding: 18px 20px 14px;
|
| 226 |
border-bottom: 1px solid var(--messenger-line);
|
|
|
|
| 415 |
max-height: 70vh;
|
| 416 |
height: 70vh;
|
| 417 |
}
|
| 418 |
+
|
| 419 |
+
.chat-history-wrap {
|
| 420 |
+
flex: 0 0 320px;
|
| 421 |
+
min-height: 320px;
|
| 422 |
+
max-height: 320px;
|
| 423 |
+
height: 320px;
|
| 424 |
+
}
|
| 425 |
}
|
| 426 |
""".strip()
|
| 427 |
|