diff --git a/private_gpt/ui/ui.py b/private_gpt/ui/ui.py index ad6052b1b..c23bd378f 100644 --- a/private_gpt/ui/ui.py +++ b/private_gpt/ui/ui.py @@ -219,13 +219,17 @@ def _build_ui_blocks(self) -> gr.Blocks: "justify-content: center;" "align-items: center;" "}" - ".logo img { height: 25% }", + ".logo img { height: 25% }" + ".contain { display: flex !important; flex-direction: column !important; }" + "#component-0, #component-3, #component-10, #component-8 { height: 100% !important; }" + "#chatbot { flex-grow: 1 !important; overflow: auto !important;}" + "#col { height: calc(100vh - 112px - 16px) !important; }", ) as blocks: with gr.Row(): gr.HTML(f"