瀏覽代碼

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):