Set a min height for library and reader so when small content is display the full screen is always used

This commit is contained in:
Jackson Harper
2023-03-13 14:45:00 +08:00
parent c990c6b248
commit a40c63cb41
2 changed files with 3 additions and 0 deletions

View File

@ -281,6 +281,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
css={{
padding: '30px',
paddingTop: '80px',
minHeight: '100vh',
maxWidth: `${styles.maxWidthPercentage ?? 100}%`,
background: props.isAppleAppEmbed
? 'unset'

View File

@ -794,6 +794,7 @@ function LibraryItemsLayout(props: LibraryItemsLayoutProps): JSX.Element {
distribution="start"
css={{
height: '100%',
minHeight: '100vh',
}}
>
<Toaster />
@ -914,6 +915,7 @@ function LibraryItemsLayout(props: LibraryItemsLayoutProps): JSX.Element {
</div>
)}
</Dropzone>
{/* <Box css={{ width: '10px', height: '100vh' }} /> */}
</VStack>
{props.showAddLinkModal && (