Pārlūkot izejas kodu

Fix the API docs in chat mode

oobabooga 3 gadi atpakaļ
vecāks
revīzija
71c2764516
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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):