diff --git a/frontend/app/(app)/code/[id]/page.tsx b/frontend/app/(app)/code/[id]/page.tsx index 9ec40a5..3d553e4 100644 --- a/frontend/app/(app)/code/[id]/page.tsx +++ b/frontend/app/(app)/code/[id]/page.tsx @@ -91,23 +91,17 @@ export default async function CodePage({ params }: { params: { id: string } }) { } return ( - <> -
- {/* */} - - -
- -
-
- {/*
*/} + + {/* */} +
+ +
- + {/*
*/} +
) } diff --git a/frontend/app/globals.css b/frontend/app/globals.css index e1d1913..848528c 100644 --- a/frontend/app/globals.css +++ b/frontend/app/globals.css @@ -102,24 +102,24 @@ .light .gradient-button-bg { background: radial-gradient( circle at top, - #f5f5f5 0%, /* Very light gray */ - #e0e0e0 50% /* Soft gray */ + #f5f5f5 0%, + /* Very light gray */ #e0e0e0 50% /* Soft gray */ ); } .light .gradient-button { background: radial-gradient( circle at bottom, - hsl(0, 0%, 85%) -10%, /* Slightly darker gray */ - hsl(0, 0%, 95%) 50% /* Very soft light gray */ + hsl(0, 0%, 85%) -10%, + /* Slightly darker gray */ hsl(0, 0%, 95%) 50% /* Very soft light gray */ ); } .light .gradient-button-bg > div:hover { background: radial-gradient( circle at bottom, - hsl(0, 0%, 80%) -10%, /* Slightly darker gray for hover */ - hsl(0, 0%, 90%) 80% /* Softer gray */ + hsl(0, 0%, 80%) -10%, + /* Slightly darker gray for hover */ hsl(0, 0%, 90%) 80% /* Softer gray */ ); } diff --git a/frontend/components/editor/AIChat/index.tsx b/frontend/components/editor/AIChat/index.tsx index ed2b6a9..0462e26 100644 --- a/frontend/components/editor/AIChat/index.tsx +++ b/frontend/components/editor/AIChat/index.tsx @@ -1,3 +1,4 @@ +import { ScrollArea } from "@/components/ui/scroll-area" import { useSocket } from "@/context/SocketContext" import { TFile } from "@/lib/types" import { ChevronDown, X } from "lucide-react" @@ -208,9 +209,9 @@ export default function AIChat({
-
{messages.map((message, messageIndex) => ( // Render chat message component for each message @@ -241,7 +242,7 @@ export default function AIChat({ )} -
+
{/* Render context tabs component */} - {/* Copilot DOM elements */} +
+ {/* Copilot DOM elements */}
@@ -1304,7 +1304,7 @@ export default function CodeEditor({ )} - +
) } diff --git a/frontend/components/editor/sidebar/index.tsx b/frontend/components/editor/sidebar/index.tsx index 6d2a2af..4763174 100644 --- a/frontend/components/editor/sidebar/index.tsx +++ b/frontend/components/editor/sidebar/index.tsx @@ -9,6 +9,7 @@ import SidebarFolder from "./folder" import New from "./new" import { Button } from "@/components/ui/button" +import { ScrollArea } from "@/components/ui/scroll-area" import { Skeleton } from "@/components/ui/skeleton" import { cn, sortFileExplorer } from "@/lib/utils" import { @@ -104,8 +105,8 @@ export default function Sidebar({ return (
-
-
+ +
Explorer
-
-
+ +