Fix empty state vertical centering in chat panel
This commit is contained in:
parent
2145af5280
commit
61cd018353
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue