fix mobile issue

This commit is contained in:
2025-11-25 16:08:10 +02:00
parent 5a4fafdb98
commit 37d304acd5

View File

@@ -199,8 +199,7 @@ class Home:
self.chat_header, self.chat_header,
ft.Divider(), ft.Divider(),
ft.Container( ft.Container(
height=280, #if self.page.width > 500 else None, # chat messages area height height=280 if self.page.width > 500 else 200,
#expand = True if self.page.width < 500 else None,
content=self.messages_list, content=self.messages_list,
), ),
ft.Divider(), ft.Divider(),
@@ -424,7 +423,7 @@ class Home:
self.chat_input.value = "" self.chat_input.value = ""
# Keep the focus in the chat input so the user can continue typing # Keep the focus in the chat input so the user can continue typing
#self.chat_input.focus() self.chat_input.focus()
self.chat_input.update() self.chat_input.update()
self.page.update() self.page.update()