Sfoglia il codice sorgente

Refactor: Make loader standalone component

pull/169/head
winkidney 5 anni fa
committed by Isaac Bythewood
parent
commit
09e46cc907
2 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  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 Vedi 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 {


+ 5
- 0
pinry-spa/src/components/utils/loader.scss Vedi File

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

Caricamento…
Annulla
Salva