✌️
This commit is contained in:
parent
48695af5f5
commit
f1f552c4f1
1 changed files with 11 additions and 1 deletions
|
@ -100,7 +100,9 @@
|
||||||
{ post.text }
|
{ post.text }
|
||||||
<div class="media" if={ post.media }>
|
<div class="media" if={ post.media }>
|
||||||
<virtual each={ file in post.media }>
|
<virtual each={ file in post.media }>
|
||||||
|
<a href={ file.url } target="_blank">
|
||||||
<img src={ file.url + '?thumbnail&size=512' } alt={ file.name } title={ file.name }/>
|
<img src={ file.url + '?thumbnail&size=512' } alt={ file.name } title={ file.name }/>
|
||||||
|
</a>
|
||||||
</virtual>
|
</virtual>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -136,6 +138,14 @@
|
||||||
> div
|
> div
|
||||||
padding 0 0 1em 2em
|
padding 0 0 1em 2em
|
||||||
|
|
||||||
|
> .media
|
||||||
|
> a
|
||||||
|
display block
|
||||||
|
|
||||||
|
> img
|
||||||
|
max-width 100%
|
||||||
|
vertical-align bottom
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
this.post = this.opts.post;
|
this.post = this.opts.post;
|
||||||
|
|
Loading…
Reference in a new issue