fix low height screen issues

This commit is contained in:
Ilja 2022-02-09 16:26:12 +02:00
parent c13e9d7581
commit e8a7f0f99f
2 changed files with 13 additions and 2 deletions

View File

@ -39,7 +39,7 @@ export default function Layout({ children, initialized }: Props) {
outline: 'none', outline: 'none',
'@xs': { '@xs': {
borderRadius: '$lg', borderRadius: '$lg',
height: '93vh', height: '95vh',
maxWidth: '450px' maxWidth: '450px'
} }
}} }}
@ -60,7 +60,14 @@ export default function Layout({ children, initialized }: Props) {
</Card.Body> </Card.Body>
</RouteTransition> </RouteTransition>
<Card.Footer> <Card.Footer
css={{
minHeight: 55,
position: 'sticky',
bottom: 0,
left: 0
}}
>
<Navigation /> <Navigation />
</Card.Footer> </Card.Footer>
</Fragment> </Fragment>

View File

@ -1,3 +1,7 @@
* {
box-sizing: border-box;
}
body, body,
html { html {
position: fixed; position: fixed;