Browse Source

Fix: Fix style for image predefined size

pull/169/head
winkidney 5 years ago
committed by Isaac Bythewood
parent
commit
a2bdf58943
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      pinry-spa/src/components/Pins.vue

+ 2
- 2
pinry-spa/src/components/Pins.vue View File

@@ -76,8 +76,8 @@ function createImageItem(pin) {
image.original_url = pinHandler.escapeUrl(pin.image.image);
image.orgianl_width = pin.image.width;
image.style = {
width: pin.image.thumbnail.width,
height: pin.image.thumbnail.height,
width: `${pin.image.thumbnail.width}px`,
height: `${pin.image.thumbnail.height}px`,
};
return image;
}


Loading…
Cancel
Save