small fixes
This commit is contained in:
parent
e10b43bddb
commit
58a211663a
3 changed files with 12 additions and 9 deletions
15
.example.env
15
.example.env
|
|
@ -1,6 +1,9 @@
|
||||||
VITE_HOST=localhost
|
VITE_MODE="dev"
|
||||||
VITE_PORT=4000
|
VITE_HOST=192.168.1.2
|
||||||
ACCESS_TOKEN_SECRET=sometoken1
|
VITE_HOST_REMOTE=123.123.123.123
|
||||||
REFRESH_TOKEN_SECRET=sometoken2
|
VITE_DOMAIN_NAME=n0q.dev
|
||||||
DATABASE_URL="mysql://janedoe:mypassword@localhost:3306/mydb"
|
VITE_PORT=443
|
||||||
MODE="dev"
|
VITE_APP_NAME="echoes"
|
||||||
|
ACCESS_TOKEN_SECRET="encoded string"
|
||||||
|
REFRESH_TOKEN_SECRET="encoded string"
|
||||||
|
DATABASE_URL="mysql://user@localhost:3306/project_ln"
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,8 @@ function EditorViewport({
|
||||||
maxHeight: readOnly ? undefined : '60vh',
|
maxHeight: readOnly ? undefined : '60vh',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
padding: 0,
|
padding: 0,
|
||||||
overflowY: 'auto'
|
overflowY: 'auto',
|
||||||
|
overflowX: 'clip'
|
||||||
}}
|
}}
|
||||||
renderElement={renderElement}
|
renderElement={renderElement}
|
||||||
renderLeaf={renderLeaf}
|
renderLeaf={renderLeaf}
|
||||||
|
|
|
||||||
|
|
@ -73,12 +73,11 @@ function BookChapterView({
|
||||||
<Separator width="91%" />
|
<Separator width="91%" />
|
||||||
<Stack width="91%" justifyContent="left" alignItems="start" paddingY={2}>
|
<Stack width="91%" justifyContent="left" alignItems="start" paddingY={2}>
|
||||||
<Text fontWeight="bold">Footnote:</Text>
|
<Text fontWeight="bold">Footnote:</Text>
|
||||||
<Text color="fg.muted">{data.bookChapterOne.foreword}</Text>
|
<Text color="fg.muted">{data.bookChapterOne.footnote}</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Text>{data.bookChapterOne.footnote}</Text>
|
|
||||||
<ChapterNavigation
|
<ChapterNavigation
|
||||||
bookId={bookId}
|
bookId={bookId}
|
||||||
previousChapterId={navigationData?.bookChapterOne.previousChapterId}
|
previousChapterId={navigationData?.bookChapterOne.previousChapterId}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue