瀏覽代碼

Fix: Fix style for image predefined size

pull/169/head
winkidney 5 年之前
committed by Isaac Bythewood
父節點
當前提交
a2bdf58943
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      pinry-spa/src/components/Pins.vue

+ 2
- 2
pinry-spa/src/components/Pins.vue 查看文件

@@ -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…
取消
儲存