refactor: enhance ThreadContent layout and improve navigation handling in LayoutDataProvider

This commit is contained in:
Anish Sarkar 2026-04-14 03:57:37 +05:30
parent 43744713f7
commit 26695b949e
3 changed files with 29 additions and 31 deletions

View file

@ -123,6 +123,10 @@ const ThreadContent: FC = () => {
}}
/>
<AuiIf condition={({ thread }) => !thread.isEmpty}>
<div className="grow" />
</AuiIf>
<ThreadPrimitive.ViewportFooter
className="aui-thread-viewport-footer sticky bottom-0 z-10 mx-auto flex w-full max-w-(--thread-max-width) flex-col gap-4 overflow-visible rounded-t-3xl bg-main-panel pb-4 md:pb-6"
style={{ paddingBottom: "max(1rem, env(safe-area-inset-bottom))" }}