Replace visibility jank with display

This commit is contained in:
Hamcha 2020-06-21 13:12:40 +02:00
parent 8bfbdd9f26
commit 9a6fc62179
Signed by untrusted user: hamcha
GPG key ID: 41467804B19A3315

View file

@ -64,33 +64,35 @@ body {
display: grid;
overflow: hidden;
.page {
visibility: hidden;
//visibility: hidden;
display: none;
overflow-y: scroll;
grid-row: 1;
grid-column: 1;
&.active {
visibility: visible;
}
&.waiting {
user-select: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
.speen {
flex: 1;
//visibility: visible;
display: inherit;
&.waiting {
user-select: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
img {
width: 60vmin;
opacity: 0.9;
height: 100%;
.speen {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
img {
width: 60vmin;
opacity: 0.9;
}
}
}
}