Fix empty state vertical centering in chat panel

This commit is contained in:
Danila Poyarkov 2026-03-01 11:05:09 +03:00
parent 2145af5280
commit 61cd018353

View file

@ -144,7 +144,7 @@ function toolState(part: ToolPart): 'pending' | 'done' | 'error' {
<!-- Chat messages -->
<template v-else>
<ScrollAreaRoot class="min-h-0 flex-1">
<ScrollAreaViewport class="h-full px-3 py-3">
<ScrollAreaViewport class="h-full px-3 py-3 [&>div]:h-full">
<!-- Empty state -->
<div
v-if="messages.length === 0"