Merge pull request #1904 from omnivore-app/fix/min-heights

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 15:18:05 +08:00 committed by GitHub
commit 47f1934ed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 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 />