nanova commited on
Commit
bcbbd4b
·
1 Parent(s): 59fcdeb
Files changed (1) hide show
  1. app.py +11 -13
app.py CHANGED
@@ -148,25 +148,23 @@ demo = gr.ChatInterface(
148
  overflow-wrap: break-word !important;
149
  max-width: 100% !important;
150
  }
151
- .prose .assistant p {
152
  margin-top: 1.5em !important;
153
  }
154
- .prose details {
155
- margin: 1em 0 !important;
156
- border: 1px solid #e5e7eb !important;
157
- border-radius: 6px !important;
158
  }
159
- .prose details summary {
160
- padding: 0.5em 1em !important;
161
- background: #f9fafb !important;
162
  cursor: pointer !important;
163
- border-radius: 6px 6px 0 0 !important;
164
  }
165
- .prose details summary:hover {
166
- background: #f3f4f6 !important;
167
  }
168
- .prose details[open] summary {
169
- border-bottom: 1px solid #e5e7eb !important;
170
  }
171
  """
172
  )
 
148
  overflow-wrap: break-word !important;
149
  max-width: 100% !important;
150
  }
151
+ .prose p {
152
  margin-top: 1.5em !important;
153
  }
154
+ .accordion {
155
+ margin: 0 !important;
156
+ border: none !important;
 
157
  }
158
+ .accordion-header {
159
+ background: #f0f0f0 !important;
160
+ padding: 8px !important;
161
  cursor: pointer !important;
 
162
  }
163
+ .accordion-content {
164
+ padding: 8px !important;
165
  }
166
+ .prose .user p {
167
+ margin-top: 0 !important;
168
  }
169
  """
170
  )