Replace visibility jank with display
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2020-06-21 13:12:40 +02:00
parent 8bfbdd9f26
commit 9a6fc62179
Signed by: hamcha
GPG Key ID: 41467804B19A3315
1 changed files with 23 additions and 21 deletions

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;
}
}
}
}