[U] use vh instead of % to improve scaling on mobile browsers
This commit is contained in:
parent
5b7485cbe9
commit
3a3c02233b
1 changed files with 3 additions and 3 deletions
|
|
@ -5,20 +5,20 @@ body {
|
|||
#app,
|
||||
#app div {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#app img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 100%;
|
||||
max-height: 100vh;
|
||||
z-index: 0;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
#app video {
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue