mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-23 23:47:57 +01:00
refs #117 Show attachmented images in toot
This commit is contained in:
parent
adfbaed6cf
commit
aff2e654b8
@ -13,6 +13,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="content" v-html="message.content" @click.capture.prevent="tootClick"></div>
|
||||
<div class="attachments">
|
||||
<div class="media" v-for="media in originalMessage(message).media_attachments">
|
||||
<img :src="media.preview_url" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="reblogger" v-if="message.reblog !== null">
|
||||
<icon name="retweet"></icon>
|
||||
<span class="reblogger-icon">
|
||||
@ -177,6 +182,15 @@ function findLink (target) {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.attachments {
|
||||
.media {
|
||||
img {
|
||||
width: 200px;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.reblogger {
|
||||
color: #909399;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user