From 39a590c7d9e41dce2207847e328b311647308dae Mon Sep 17 00:00:00 2001 From: Chris Griffing Date: Thu, 1 Feb 2024 16:25:56 -0800 Subject: [PATCH] fix: handle overlapping text in books sidebar --- src/App.tsx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 3c7daee..29f9b0f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -286,6 +286,7 @@ export function App() { return !node.isLeaf ? ( - + {node.data.book.title} + + {!book.chapters.length && ready && ( + + (empty) + + )} @@ -429,12 +441,6 @@ export function App() { - {!book.chapters.length && ready && ( - - Chapters not found. You can create one using the menu - above. - - )} ) : (