1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

setting image loaded status

This commit is contained in:
muerwre 2019-08-25 17:43:07 +07:00
parent 1299a0e766
commit e1a9dd66fc
3 changed files with 20 additions and 16 deletions

View file

@ -8,11 +8,12 @@
position: relative;
overflow: hidden;
transition: height 0.5s;
user-select: none;
.image {
max-height: 800px;
max-height: 960px;
max-width: 100%;
opacity: 1;
width: 100%;
border-radius: $radius $radius 0 0;
}
}
@ -27,6 +28,9 @@
touch-action: none;
z-index: 1;
transition: opacity 0.5s;
display: flex;
align-items: center;
justify-content: center;
&:global(.is_active) {
opacity: 1;