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

@ -1,6 +1,9 @@
VITE_HOST=localhost
VITE_PORT=4000
ACCESS_TOKEN_SECRET=sometoken1
REFRESH_TOKEN_SECRET=sometoken2
DATABASE_URL="mysql://janedoe:mypassword@localhost:3306/mydb"
MODE="dev"
VITE_MODE="dev"
VITE_HOST=192.168.1.2
VITE_HOST_REMOTE=123.123.123.123
VITE_DOMAIN_NAME=n0q.dev
VITE_PORT=443
VITE_APP_NAME="echoes"
ACCESS_TOKEN_SECRET="encoded string"
REFRESH_TOKEN_SECRET="encoded string"
DATABASE_URL="mysql://user@localhost:3306/project_ln"

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}