From 71c27645163e9ab17f40c30a480ca5a0a623da12 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 17 Feb 2023 01:56:51 -0300 Subject: [PATCH] Fix the API docs in chat mode --- modules/ui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ui.py b/modules/ui.py index c2416c3..72b6e9f 100644 --- a/modules/ui.py +++ b/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):