diff --git a/src/chat/chat_panel.rs b/src/chat/chat_panel.rs index 9d29fab6..37c62fe1 100644 --- a/src/chat/chat_panel.rs +++ b/src/chat/chat_panel.rs @@ -154,10 +154,11 @@ live_design! { } } - JumpToButtom = { + JumpToBottom = { width: Fill, height: Fill, - align: {x: 0.5, y: 1.0}, + align: {x: 1.0, y: 1.0}, + padding: {bottom: 60}, jump_to_bottom = { width: 34, @@ -252,161 +253,166 @@ live_design! { } ChatPanel = {{ChatPanel}} { - width: Fill, - height: Fill, - margin: {top: 0, left: 20, right: 20, bottom: 20}, - - flow: Overlay, - - no_downloaded_model = { - width: Fill, - height: Fill, + flow: Overlay + width: Fill + height: Fill - flow: Down, - align: {x: 0.5, y: 0.5}, + { + flow: Overlay + width: Fill + height: Fill + padding: {left: 25, right: 25, bottom: 20}, - { + no_downloaded_model = { width: Fill, height: Fill, + flow: Down, - spacing: 30, align: {x: 0.5, y: 0.5}, -