fix low height screen issues
This commit is contained in:
parent
c13e9d7581
commit
e8a7f0f99f
@ -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>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
Loading…
Reference in New Issue
Block a user