From 4e32b409a925136ed575b32abe3c8d6028dbc1fb Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sun, 6 Apr 2025 21:33:08 +0100
Subject: fix(web): Line clamp sidebar items to a single line

---
 apps/web/components/shared/sidebar/SidebarItem.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'apps/web/components/shared/sidebar/SidebarItem.tsx')

diff --git a/apps/web/components/shared/sidebar/SidebarItem.tsx b/apps/web/components/shared/sidebar/SidebarItem.tsx
index 83ce776e..c862cc83 100644
--- a/apps/web/components/shared/sidebar/SidebarItem.tsx
+++ b/apps/web/components/shared/sidebar/SidebarItem.tsx
@@ -45,7 +45,9 @@ export default function SidebarItem({
         <div className="flex w-full justify-between">
           <div className="flex items-center gap-x-2">
             {logo}
-            <span>{name}</span>
+            <span title={name} className="line-clamp-1">
+              {name}
+            </span>
           </div>
           {right}
         </div>
-- 
cgit v1.2.3-70-g09d2

