Bläddra i källkod

Refactor: Make loader standalone component

pull/169/head
winkidney 5 år sedan
committed by Isaac Bythewood
förälder
incheckning
09e46cc907
2 ändrade filer med 6 tillägg och 6 borttagningar
  1. +1
    -6
      pinry-spa/src/components/Pins.vue
  2. +5
    -0
      pinry-spa/src/components/utils/loader.scss

+ 1
- 6
pinry-spa/src/components/Pins.vue Visa fil

@@ -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 {


+ 5
- 0
pinry-spa/src/components/utils/loader.scss Visa fil

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

Laddar…
Avbryt
Spara