0
0
Fork 0

Remove react-imageloader (#3423)

* Remove react-imageloader

* add eslint-disable-line

* improve image loading experience

* remove unneeded import

* use PureComponent

* Use componentWillMount instead of constructor
This commit is contained in:
Nolan Lawson 2017-05-31 08:07:25 -07:00 committed by Eugen Rochko
parent e49dc6a06e
commit c00ead8a72
5 changed files with 57 additions and 12 deletions

View file

@ -1137,13 +1137,13 @@
}
}
.transparent-background,
.imageloader {
background: url('../images/void.png');
.image-loader__img {
transition: opacity 0.3s linear;
opacity: 1;
}
.imageloader {
display: block;
.image-loader__img-loading {
opacity: 0.7;
}
.navigation-bar {
@ -2852,6 +2852,11 @@ button.icon-button.active i.fa-retweet {
max-width: 80vw;
max-height: 80vh;
}
img {
display: block;
background: url('../images/void.png') repeat;
}
}
.media-modal__close {