keep image natural ratio in gallery row

This commit is contained in:
taehoon 2019-10-18 16:04:17 -04:00
parent 6c4d23714a
commit 0396c6f29d
5 changed files with 34 additions and 5 deletions

View file

@ -18,6 +18,8 @@
:nsfw="nsfw"
:attachment="attachment"
:allow-play="false"
:natural-size-load="onNaturalSizeLoad.bind(null, attachment.id)"
:style="itemStyle(attachment.id)"
/>
</div>
</div>