Use window and not viewport in css for main-container
This commit is contained in:
parent
f103a919f2
commit
281b8580cd
2 changed files with 6 additions and 5 deletions
|
@ -337,13 +337,14 @@ video.myCamVideo{
|
|||
/* New layout */
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.main-container {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background-color: #00d4ff;
|
||||
}
|
||||
|
||||
@media (min-aspect-ratio: 1/1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue