Skip to content

Commit 3efc2b7

Browse files
authored
Merge pull request #29 from codeunia-dev/adminbgblack
Update Sidebar component to apply a black background to SidebarInset for improved UI consistency
2 parents 8737b2f + 2da915e commit 3efc2b7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

components/admin/Sidebar.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,10 @@ export function Sidebar({ avatar, name, email, role, sidebarItems, children }: S
268268
</aside>
269269

270270
{/* main content */}
271+
{/* <div className="md:ml-64 flex-1 flex flex-col min-h-screen bg-black text-white z-0 relative [&_*]:bg-transparent"> forcing bg to be transparent for children components */}
272+
{/* <div className="md:ml-64 flex-1 flex flex-col min-h-screen bg-red-600 text-white relative z-0"> alt fix */}
271273
<div className="md:ml-64 flex-1 flex flex-col min-h-screen bg-gradient-to-br from-[#181f36] via-[#10172a] to-[#181f36]">
272-
<SidebarInset>
274+
<SidebarInset className="bg-black">
273275
<AdminHeader />
274276
<div className="flex flex-1 flex-col gap-4 p-4 pt-0">
275277
{children}

0 commit comments

Comments
 (0)