1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-13 14:18:26 +09:00
This commit is contained in:
syuilo 2017-11-16 22:51:28 +09:00
parent 598500223a
commit 16d4861ff6

View File

@ -2,7 +2,7 @@
<div class="preview">
<img if={ kind == 'image' } src={ file.url } alt={ file.name } title={ file.name }>
<i if={ kind != 'image' } class="fa fa-file"></i>
<footer if={ kind == 'image' }>
<footer if={ kind == 'image' && file.properties && file.properties.width && file.properties.height }>
<span class="size">
<span class="width">{ file.properties.width }</span>
<span class="time">×</span>