This commit is contained in:
syuilo 2017-11-16 22:51:28 +09:00
parent 598500223a
commit 16d4861ff6
1 changed files with 1 additions and 1 deletions

View File

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