From 6b3a498f082111b962cf9f19d99beaf0d8b17e36 Mon Sep 17 00:00:00 2001 From: Krishna Penukonda Date: Tue, 14 Jul 2026 05:57:32 +0000 Subject: [PATCH] fix: make full sidebar document item area clickable The root document button already wrapped its click target around the full item area. Apply the same pattern to individual document items within namespaces so the entire row is clickable, not just the text. --- lib/unfinal_web/components/layouts.ex | 11 +++++------ lib/unfinal_web/live/editor_live.ex | 12 ++++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/lib/unfinal_web/components/layouts.ex b/lib/unfinal_web/components/layouts.ex index ce23b07..465c42a 100644 --- a/lib/unfinal_web/components/layouts.ex +++ b/lib/unfinal_web/components/layouts.ex @@ -65,14 +65,13 @@ defmodule UnfinalWeb.Layouts do class="mx-3 my-2 border-t border-stone-200/80" /> -
- - {display_page_path(path)} - -
+ {display_page_path(path)} + diff --git a/lib/unfinal_web/live/editor_live.ex b/lib/unfinal_web/live/editor_live.ex index f6f6708..794220d 100644 --- a/lib/unfinal_web/live/editor_live.ex +++ b/lib/unfinal_web/live/editor_live.ex @@ -349,12 +349,12 @@ defmodule UnfinalWeb.EditorLive do
- + {display_page_path(@path)} -