Fixed body/scroll height on mobile
This commit is contained in:
parent
35f7af7214
commit
3c2313252c
3 changed files with 8 additions and 3 deletions
|
@ -98,7 +98,7 @@ export default {
|
|||
|
||||
.app-container {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--color-background);
|
||||
|
|
|
@ -119,7 +119,8 @@
|
|||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
color: var(--color-text);
|
||||
background: var(--color-background);
|
||||
transition:
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
@import './base.css';
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
height: 100%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue