From 1e2b2df43727ac574fa0cecd9ce49a61dd6ebe8b Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Mon, 21 Apr 2025 01:59:33 +0000
Subject: fix(web): Fix sidebar lists getting opened on edit

---
 apps/web/components/dashboard/sidebar/AllLists.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'apps/web/components/dashboard/sidebar/AllLists.tsx')

diff --git a/apps/web/components/dashboard/sidebar/AllLists.tsx b/apps/web/components/dashboard/sidebar/AllLists.tsx
index 8296dafa..fff8d64d 100644
--- a/apps/web/components/dashboard/sidebar/AllLists.tsx
+++ b/apps/web/components/dashboard/sidebar/AllLists.tsx
@@ -47,12 +47,14 @@ export default function AllLists({
         name={t("lists.all_lists")}
         path={`/dashboard/lists`}
         linkClassName="py-0.5"
+        className="px-0.5"
       />
       <SidebarItem
         logo={<span className="text-lg">⭐️</span>}
         name={t("lists.favourites")}
         path={`/dashboard/favourites`}
         linkClassName="py-0.5"
+        className="px-0.5"
       />
       <CollapsibleBookmarkLists
         initialData={initialData.lists}
@@ -62,7 +64,7 @@ export default function AllLists({
             collapseButton={
               node.children.length > 0 && (
                 <CollapsibleTriggerTriangle
-                  className="absolute left-0 top-1/2 size-2 -translate-y-1/2"
+                  className="absolute left-0.5 top-1/2 size-2 -translate-y-1/2"
                   open={open}
                 />
               )
@@ -74,6 +76,7 @@ export default function AllLists({
             }
             name={node.item.name}
             path={`/dashboard/lists/${node.item.id}`}
+            className="px-0.5"
             right={
               <ListOptions
                 onOpenChange={(open) => {
-- 
cgit v1.2.3-70-g09d2

