Refactor: Make loader standalone component

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

View File

@@ -239,12 +239,7 @@ $pin-footer-position-fix: -6px;
$avatar-width: 30px;
$avatar-height: 30px;
@import './utils/fonts';
@mixin loader {
background: url('../assets/loader.gif');
background-position: center center;
background-repeat: no-repeat;
}
@import './utils/loader.scss';
.pin-card{
.pin-preview-image {

View File

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