aldohenrique commited on
Commit
c7487ca
·
verified ·
1 Parent(s): 45a89f8

Update interface.py

Browse files
Files changed (1) hide show
  1. interface.py +21 -8
interface.py CHANGED
@@ -35,6 +35,7 @@ css_customizado = """
35
  --input-height: 80px !important;
36
  }
37
 
 
38
  /* === RESET E BASE === */
39
  * {
40
  box-sizing: border-box;
@@ -334,22 +335,34 @@ body, .gradio-container {
334
  text-decoration: underline !important;
335
  }
336
 
337
- #chat .message-text code {
 
 
 
338
  background: #f5f5f5 !important;
339
  color: #d73502 !important;
340
- padding: 2px 4px !important;
341
  border-radius: 4px !important;
342
- font-family: 'Monaco', 'Consolas', monospace !important;
 
 
343
  }
344
 
345
- #chat .message-text pre {
 
 
 
346
  background: #f8f8f8 !important;
347
- color: var(--text-chat) !important;
348
  border: 1px solid #e0e0e0 !important;
349
  border-radius: 8px !important;
350
- padding: 12px !important;
351
  overflow-x: auto !important;
352
  max-width: 100% !important;
 
 
 
 
353
  }
354
 
355
  #chat .message-text strong {
@@ -433,9 +446,9 @@ body, .gradio-container {
433
  color: white !important;
434
  border: none !important;
435
  border-radius: 10px !important;
436
- width: 40px !important;
437
  height: 40px !important;
438
- min-width: 40px !important;
439
  display: flex !important;
440
  align-items: center !important;
441
  justify-content: center !important;
 
35
  --input-height: 80px !important;
36
  }
37
 
38
+
39
  /* === RESET E BASE === */
40
  * {
41
  box-sizing: border-box;
 
335
  text-decoration: underline !important;
336
  }
337
 
338
+ #chat code,
339
+ #chat .message-text code,
340
+ [data-testid="chatbot"] code,
341
+ .gradio-container code {
342
  background: #f5f5f5 !important;
343
  color: #d73502 !important;
344
+ padding: 2px 6px !important;
345
  border-radius: 4px !important;
346
+ font-family: 'Monaco', 'Consolas', 'Courier New', monospace !important;
347
+ font-size: 14px !important;
348
+ border: 1px solid #e0e0e0 !important;
349
  }
350
 
351
+ #chat pre,
352
+ #chat .message-text pre,
353
+ [data-testid="chatbot"] pre,
354
+ .gradio-container pre {
355
  background: #f8f8f8 !important;
356
+ color: #2d2d2d !important;
357
  border: 1px solid #e0e0e0 !important;
358
  border-radius: 8px !important;
359
+ padding: 16px !important;
360
  overflow-x: auto !important;
361
  max-width: 100% !important;
362
+ margin: 12px 0 !important;
363
+ font-family: 'Monaco', 'Consolas', 'Courier New', monospace !important;
364
+ font-size: 14px !important;
365
+ line-height: 1.4 !important;
366
  }
367
 
368
  #chat .message-text strong {
 
446
  color: white !important;
447
  border: none !important;
448
  border-radius: 10px !important;
449
+ width: 20px !important;
450
  height: 40px !important;
451
+ min-width: 20px !important;
452
  display: flex !important;
453
  align-items: center !important;
454
  justify-content: center !important;