studio/frontend: add space above the scroll-to-bottom arrow in chat (#5776)

This commit is contained in:
oobabooga 2026-05-26 10:02:03 -03:00 committed by GitHub
commit 953c8bfa45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,8 @@ export const Thread: FC<{
<ThreadPrimitive.ViewportFooter
className={cn(
"aui-thread-viewport-footer pointer-events-none sticky z-20 flex w-full justify-center bg-transparent",
hideComposer ? "bottom-3" : "bottom-[140px]",
// 150px (was 140px) to add a small gap above the composer
hideComposer ? "bottom-3" : "bottom-[150px]",
)}
>
<ThreadScrollToBottom />