Skip to content

🎥 Make videos programmatically with React

style(tp2mg): add transparency and border to ChatSidebar

ASchwad4121d4b31d0e
diff --git a/packages/template-prompt-to-motion-graphics/src/components/ChatSidebar/ChatSidebar.tsx b/packages/template-prompt-to-motion-graphics/src/components/ChatSidebar/ChatSidebar.tsx
index 66a4b0fe86..67c69ddf08 100644
--- a/packages/template-prompt-to-motion-graphics/src/components/ChatSidebar/ChatSidebar.tsx
+++ b/packages/template-prompt-to-motion-graphics/src/components/ChatSidebar/ChatSidebar.tsx
@@ -175,7 +175,7 @@ export const ChatSidebar = forwardRef<ChatSidebarRef, ChatSidebarProps>(
return (
<div
className={cn(
- "flex flex-col bg-background transition-all duration-300",
+ "flex flex-col bg-background/80 backdrop-blur-sm border-r border-border/50 transition-all duration-300",
isCollapsed
? "w-12 shrink-0"
: "w-full h-[40vh] min-[1000px]:h-auto min-[1000px]:w-[40%] min-[1000px]:min-w-[320px] min-[1000px]:max-w-[520px] shrink",