[Glitch] Use LoadingBar instead of blur to indicate that an image is loading

Port 955d5d36e8 to the glitch-soc flavour
This commit is contained in:
Thibaut Girka
2018-05-20 21:38:12 +02:00
committed by ThibG
parent 1769a7e9aa
commit 02326a4322
2 changed files with 7 additions and 2 deletions

View File

@@ -339,6 +339,7 @@
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
.image-loader__preview-canvas {
max-width: $media-modal-media-max-width;
@@ -347,8 +348,8 @@
object-fit: contain;
}
&.image-loader--loading .image-loader__preview-canvas {
filter: blur(2px);
.loading-bar {
position: relative;
}
&.image-loader--amorphous .image-loader__preview-canvas {