cstr commited on
Commit
62d06f3
·
verified ·
1 Parent(s): d078a09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -2
app.py CHANGED
@@ -45,18 +45,42 @@ CSS = """
45
  padding-bottom: 0.5rem;
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  .thinking-section {
49
  background: var(--secondary-50);
50
  border-left: 4px solid var(--primary-500);
51
  padding: 1.25rem;
52
- margin-bottom: 1rem;
53
  border-radius: 0 0.75rem 0.75rem 0;
54
  font-style: italic;
55
  color: var(--body-text-color-subdued);
56
  }
57
 
 
58
  [data-theme="dark"] .thinking-section {
59
- background: var(--neutral-800);
 
 
 
 
 
 
 
60
  }
61
 
62
  .sources-panel {
 
45
  padding-bottom: 0.5rem;
46
  }
47
 
48
+ .output-panel {
49
+ background: var(--block-background-fill) !important;
50
+ border-radius: 0.75rem !important;
51
+ border: 1px solid var(--border-color-primary) !important;
52
+ padding: 1.5rem !important;
53
+ min-height: 400px;
54
+ }
55
+
56
+ .summary-text {
57
+ font-size: 1.05rem !important;
58
+ line-height: 1.8 !important;
59
+ color: var(--body-text-color) !important;
60
+ background: transparent !important;
61
+ }
62
+
63
+ /* Specific fix for the 'Thinking' box inside the markdown */
64
  .thinking-section {
65
  background: var(--secondary-50);
66
  border-left: 4px solid var(--primary-500);
67
  padding: 1.25rem;
68
+ margin-bottom: 1.5rem;
69
  border-radius: 0 0.75rem 0.75rem 0;
70
  font-style: italic;
71
  color: var(--body-text-color-subdued);
72
  }
73
 
74
+ /* Ensure the thinking section background is dark when in dark mode */
75
  [data-theme="dark"] .thinking-section {
76
+ background: var(--neutral-800) !important;
77
+ color: var(--neutral-300) !important;
78
+ }
79
+
80
+ /* Prevent markdown containers from forcing white backgrounds */
81
+ .prose, .markdown-text {
82
+ background-color: transparent !important;
83
+ color: var(--body-text-color) !important;
84
  }
85
 
86
  .sources-panel {