Skip to content

Commit

Permalink
fix(shadcn/thread-full): add bg-inherit to Viewport (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jul 31, 2024
1 parent 3a9a486 commit 833d89b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { cn } from "@/lib/utils";
export const Thread: FC = () => {
return (
<ThreadPrimitive.Root className="bg-background h-full">
<ThreadPrimitive.Viewport className="flex h-full flex-col items-center overflow-y-scroll scroll-smooth px-4 pt-8">
<ThreadPrimitive.Viewport className="flex h-full flex-col items-center overflow-y-scroll scroll-smooth bg-inherit px-4 pt-8">
<ThreadWelcome />

<ThreadPrimitive.Messages
Expand Down

0 comments on commit 833d89b

Please sign in to comment.