Junhoee commited on
Commit
9bd710e
·
verified ·
1 Parent(s): 0911ab7

Update app_gradio_messenger.py

Browse files
Files changed (1) hide show
  1. app_gradio_messenger.py +5 -28
app_gradio_messenger.py CHANGED
@@ -190,36 +190,12 @@ body, .gradio-container {
190
  .chat-stage {
191
  display: flex;
192
  flex-direction: column;
 
193
  max-height: calc(100vh - 36px);
194
  height: calc(100vh - 36px);
195
  overflow: hidden;
196
  }
197
 
198
- .chat-stage > .gr-column,
199
- .chat-stage > div {
200
- display: flex;
201
- flex-direction: column;
202
- min-height: 0;
203
- flex: 1;
204
- }
205
-
206
-
207
- .chat-history-wrap {
208
- flex: 1 1 0;
209
- min-height: 0;
210
- overflow: hidden;
211
- position: relative;
212
- }
213
-
214
- .chat-history-wrap > *,
215
- .chat-history-wrap > * > * {
216
- height: 100% !important;
217
- min-height: 0 !important;
218
- overflow-y: auto !important;
219
- }
220
-
221
-
222
-
223
  .chat-head {
224
  padding: 18px 20px 14px;
225
  border-bottom: 1px solid var(--messenger-line);
@@ -273,10 +249,11 @@ body, .gradio-container {
273
  }
274
 
275
  .chat-history {
276
- height: 100% !important;
277
- overflow-y: auto !important;
278
- box-sizing: border-box;
279
  padding: 18px 18px 8px;
 
 
 
 
280
  }
281
 
282
  .message-col {
 
190
  .chat-stage {
191
  display: flex;
192
  flex-direction: column;
193
+ min-height: calc(100vh - 36px);
194
  max-height: calc(100vh - 36px);
195
  height: calc(100vh - 36px);
196
  overflow: hidden;
197
  }
198
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  .chat-head {
200
  padding: 18px 20px 14px;
201
  border-bottom: 1px solid var(--messenger-line);
 
249
  }
250
 
251
  .chat-history {
 
 
 
252
  padding: 18px 18px 8px;
253
+ overflow-y: auto;
254
+ min-height: 0;
255
+ max-height: 100%;
256
+ height: 100%;
257
  }
258
 
259
  .message-col {