diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 6baee7e..526daf3 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -179,7 +179,16 @@ export function Sidebar() {
{row.num ?? ""}
- {row.chapter.title || "Untitled"}
+ {
+ const el = e.currentTarget;
+ if (el.scrollWidth > el.clientWidth) el.title = row.chapter.title || "Untitled";
+ else el.removeAttribute("title");
+ }}
+ >
+ {row.chapter.title || "Untitled"}
+
{row.chapter.id === activeChapterId && (
Edited {formatEdited(row.chapter.updatedAt, now)}
)}