Browse Source

Fix the API docs in chat mode

oobabooga 3 years ago
parent
commit
71c2764516
1 changed files with 4 additions and 0 deletions
  1. 4 0
      modules/ui.py

+ 4 - 0
modules/ui.py

@@ -44,6 +44,10 @@ chat_css = """
 div.svelte-362y77>*, div.svelte-362y77>.form>* {
     flex-wrap: nowrap
 }
+/* fixes the API documentation in chat mode */
+.api-docs.svelte-1iguv9h.svelte-1iguv9h.svelte-1iguv9h {
+    display: grid;
+}
 """
 
 class ToolButton(gr.Button, gr.components.FormComponent):