diff options
Diffstat (limited to 'src/components/status_body/status_body.vue')
| -rw-r--r-- | src/components/status_body/status_body.vue | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue index 6609d989..2be46303 100644 --- a/src/components/status_body/status_body.vue +++ b/src/components/status_body/status_body.vue @@ -1,8 +1,5 @@ <template> -<div - class="StatusBody" - :class="{ '-compact': compact }" -> + <div class="StatusBody"> <div class="body"> <div v-if="status.summary_raw_html" @@ -11,7 +8,6 @@ > <RichContent class="media-body summary" - :single-line="compact" :html="status.summary_raw_html" :emoji="status.emojis" /> @@ -42,29 +38,17 @@ > {{ $t("general.show_more") }} </button> - <span + <RichContent v-if="!hideSubjectStatus && !(singleLine && status.summary_raw_html)" - class="rich-content-wrapper" - > - <MentionsLine - v-if="!hideMentions && firstMentions && firstMentions.length > 0" - :mentions="firstMentions" - /> - <RichContent - :class="{ '-single-line': singleLine }" - class="text media-body" - :html="status.raw_html" - :emoji="status.emojis" - :handle-links="true" - :single-line="compact" - :greentext="mergedConfig.greentext" - @parseReady="setHeadTailLinks" - /> - <MentionsLine - v-if="!hideMentions && lastMentions.length > 1 && firstMentions.length <= 1" - :mentions="lastMentions" - /> - </span> + :class="{ '-single-line': singleLine }" + class="text media-body" + :html="status.raw_html" + :emoji="status.emojis" + :handle-links="true" + :hide-mentions="hideMentions" + :greentext="mergedConfig.greentext" + @parseReady="$emit('parseReady', $event)" + /> <button v-if="hideSubjectStatus" |
