diff --git a/ui/src/chat/ChatDock.vue b/ui/src/chat/ChatDock.vue index cebca1b97..2b5cb86f0 100644 --- a/ui/src/chat/ChatDock.vue +++ b/ui/src/chat/ChatDock.vue @@ -141,10 +141,13 @@ const wrapStyle = computed | undefined>((): Record 0 ? fitRect(rect, vw.value, visibleHeight.value) : rect; + return { left: `${fit.x}px`, top: `${fit.y}px`, width: `${fit.w}px`, height: `${fit.h}px` }; } const bar = barPlacement(rect, mode.value, vw.value); - return { left: `${bar.x}px`, bottom: `${bar.bottom}px`, width: `${bar.w}px` }; + return { left: `${bar.x}px`, bottom: `${bar.bottom + keyboard.value}px`, width: `${bar.w}px` }; }); // Nothing outside the dock closes it: every navigation control is outside it,