Kaynağa Gözat

Fix the API docs in chat mode

oobabooga 3 yıl önce
ebeveyn
işleme
71c2764516
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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):