aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/sidebar/AllLists.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-04-21 01:59:33 +0000
committerMohamed Bassem <me@mbassem.com>2025-04-21 01:59:33 +0000
commit1e2b2df43727ac574fa0cecd9ce49a61dd6ebe8b (patch)
tree93e6354cf2cfdc0ec92c9c35ca77beafb7b4d904 /apps/web/components/dashboard/sidebar/AllLists.tsx
parentc42c2c3d2d6c2109d0a7331a764fdbcc9ccdf067 (diff)
downloadkarakeep-1e2b2df43727ac574fa0cecd9ce49a61dd6ebe8b.tar.zst
fix(web): Fix sidebar lists getting opened on edit
Diffstat (limited to 'apps/web/components/dashboard/sidebar/AllLists.tsx')
-rw-r--r--apps/web/components/dashboard/sidebar/AllLists.tsx5
1 files changed, 4 insertions, 1 deletions
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) => {