Преглед на файлове

Fix the API docs in chat mode

oobabooga преди 3 години
родител
ревизия
71c2764516
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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):