mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
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:
parent
c990c6b248
commit
a40c63cb41
2 changed files with 3 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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 && (
|
||||
|
|
|
|||
Loading…
Reference in a new issue