This commit is contained in:
Henry Jameson 2021-06-07 12:24:11 +03:00
parent 5970ddf9ac
commit 35dedf8416
2 changed files with 7 additions and 5 deletions

View file

@ -1,9 +1,9 @@
<template> <template>
<div <div
ref="root"
v-click-outside="onClickOutside" v-click-outside="onClickOutside"
class="emoji-input" class="emoji-input"
:class="{ 'with-picker': !hideEmojiButton }" :class="{ 'with-picker': !hideEmojiButton }"
ref='root'
> >
<slot /> <slot />
<template v-if="enableEmojiPicker"> <template v-if="enableEmojiPicker">

View file

@ -8,9 +8,10 @@
> >
<RichContent <RichContent
class="media-body summary" class="media-body summary"
@click.prevent="linkClicked"
:html="status.summary_raw_html" :html="status.summary_raw_html"
:emoji="status.emojis"/> :emoji="status.emojis"
@click.prevent="linkClicked"
/>
<button <button
v-if="longSubject && showingLongSubject" v-if="longSubject && showingLongSubject"
class="button-unstyled -link tall-subject-hider" class="button-unstyled -link tall-subject-hider"
@ -43,9 +44,10 @@
v-if="!hideSubjectStatus" v-if="!hideSubjectStatus"
:class="{ 'single-line': singleLine }" :class="{ 'single-line': singleLine }"
class="status-content media-body" class="status-content media-body"
@click.prevent="linkClicked"
:html="postBodyHtml" :html="postBodyHtml"
:emoji="status.emojis"/> :emoji="status.emojis"
@click.prevent="linkClicked"
/>
<button <button
v-if="hideSubjectStatus" v-if="hideSubjectStatus"
class="button-unstyled -link cw-status-hider" class="button-unstyled -link cw-status-hider"