Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update Items.tsx (#1044)

Ameer Al Ashhab2a4620662df7
diff --git a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
index 0ae8dbf6e..860335968 100644
--- a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
+++ b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
@@ -130,7 +130,12 @@ const AdminNavItems = ({ toggleMobileNav }: Props) => {
>
<div className="flex items-center">
{activeOrg?.organization.iconUrl ? (
- <div className="overflow-hidden relative flex-shrink-0 rounded-full size-[18px]">
+ <div
+ className={clsx(
+ "overflow-hidden relative flex-shrink-0 rounded-full",
+ sidebarCollapsed ? "size-6" : "size-7",
+ )}
+ >
<Image
src={activeOrg.organization.iconUrl}
alt={