diff options
| author | lambda <pleromagit@rogerbraun.net> | 2019-01-29 14:12:18 +0000 |
|---|---|---|
| committer | lambda <pleromagit@rogerbraun.net> | 2019-01-29 14:12:18 +0000 |
| commit | 4185452b52b39fdfe13d2e11ea1cc9b92dc626d5 (patch) | |
| tree | 84c064b1e7dd0280a02daa11bdff3137c7655ac2 /src/components/status/status.vue | |
| parent | de91998317e072cb06de0153311723fb8531f035 (diff) | |
| parent | 96c36af73168913768818f5293358f460e30c24f (diff) | |
Merge branch 'feature/link-preview' into 'develop'
link previews
See merge request pleroma/pleroma-fe!481
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 5c956467..d88428c7 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -98,6 +98,10 @@ </attachment> </div> + <div v-if="status.card && !hideSubjectStatus && !noHeading" class="link-preview media-body"> + <link-preview :card="status.card" :size="attachmentSize" :nsfw="nsfwClickthrough" /> + </div> + <div v-if="!noHeading && !noReplyLinks" class='status-actions media-body'> <div v-if="loggedIn"> <a href="#" v-on:click.prevent="toggleReplying" :title="$t('tool_tip.reply')"> @@ -221,6 +225,11 @@ vertical-align: bottom; flex-basis: 100%; + a { + display: inline-block; + word-break: break-all; + } + small { font-weight: lighter; } @@ -296,11 +305,6 @@ } } - a { - display: inline-block; - word-break: break-all; - } - .tall-status { position: relative; height: 220px; @@ -309,6 +313,8 @@ } .tall-status-hider { + display: inline-block; + word-break: break-all; position: absolute; height: 70px; margin-top: 150px; @@ -326,6 +332,8 @@ .status-unhider, .cw-status-hider { width: 100%; text-align: center; + display: inline-block; + word-break: break-all; } .status-content { |
