small fixes

This commit is contained in:
lnn0q 2025-06-05 20:10:02 +03:00
parent e10b43bddb
commit 58a211663a
3 changed files with 12 additions and 9 deletions

View file

@ -134,7 +134,8 @@ function EditorViewport({
maxHeight: readOnly ? undefined : '60vh',
height: '100%',
padding: 0,
overflowY: 'auto'
overflowY: 'auto',
overflowX: 'clip'
}}
renderElement={renderElement}
renderLeaf={renderLeaf}

View file

@ -73,12 +73,11 @@ function BookChapterView({
<Separator width="91%" />
<Stack width="91%" justifyContent="left" alignItems="start" paddingY={2}>
<Text fontWeight="bold">Footnote:</Text>
<Text color="fg.muted">{data.bookChapterOne.foreword}</Text>
<Text color="fg.muted">{data.bookChapterOne.footnote}</Text>
</Stack>
</>
)}
<Text>{data.bookChapterOne.footnote}</Text>
<ChapterNavigation
bookId={bookId}
previousChapterId={navigationData?.bookChapterOne.previousChapterId}