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:
parent
e49dc6a06e
commit
c00ead8a72
5 changed files with 57 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue