Fix: Fix loader loading error

This commit is contained in:
winkidney
2019-12-02 23:07:59 +08:00
committed by Isaac Bythewood
parent 09e46cc907
commit c59fa32f1f
2 changed files with 3 additions and 3 deletions

View File

@@ -248,7 +248,7 @@ $avatar-height: 30px;
> img {
background-color: white;
border-radius: 3px 3px 0 0;
@include loader;
@include loader('../assets/loader.gif');
}
.avatar {
height: $avatar-height;

View File

@@ -1,5 +1,5 @@
@mixin loader {
background: url('/assets/loader.gif');
@mixin loader($loaderGifURL) {
background: url(#{$loaderGifURL});
background-position: center center;
background-repeat: no-repeat;
}