Bladeren bron

Fix: Small picture should be resize to standard width in pin and board

pull/169/head
winkidney 5 jaren geleden
committed by Isaac Bythewood
bovenliggende
commit
ee0c7b97a0
2 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. +2
    -0
      pinry-spa/src/components/Boards.vue
  2. +2
    -0
      pinry-spa/src/components/Pins.vue

+ 2
- 0
pinry-spa/src/components/Boards.vue Bestand weergeven

@@ -104,6 +104,7 @@ export default {
this.blocksMap[itemId].class = {
'image-loaded': true,
};
this.blocksMap[itemId].style.height = 'auto';
},
registerScrollEvent() {
const self = this;
@@ -191,6 +192,7 @@ $avatar-height: 30px;

.board-card{
.card-image > img {
min-width: $pin-preview-width;
background-color: white;
border-radius: 3px 3px 0 0;
@include loader('../assets/loader.gif');


+ 2
- 0
pinry-spa/src/components/Pins.vue Bestand weergeven

@@ -130,6 +130,7 @@ export default {
this.blocksMap[itemId].class = {
'image-loaded': true,
};
this.blocksMap[itemId].style.height = 'auto';
},
registerScrollEvent() {
const self = this;
@@ -267,6 +268,7 @@ $avatar-height: 30px;
cursor: zoom-in;
}
> img {
min-width: $pin-preview-width;
background-color: white;
border-radius: 3px 3px 0 0;
@include loader('../assets/loader.gif');


Laden…
Annuleren
Opslaan