forked from srxl/akkoma-fe
fix eslint warnings
This commit is contained in:
parent
1504b272d2
commit
e834b9d88b
1 changed files with 27 additions and 10 deletions
|
@ -170,18 +170,32 @@
|
|||
</div>
|
||||
|
||||
<div class="heading-reply-row">
|
||||
<div v-if="isReply" class="reply-to-and-accountname">
|
||||
<Popper ref="statusPreviewPopper" :options="{ placement: 'top-start' }" @show="replyEnter(status.in_reply_to_status_id)">
|
||||
<div
|
||||
v-if="isReply"
|
||||
class="reply-to-and-accountname"
|
||||
>
|
||||
<Popper
|
||||
ref="statusPreviewPopper"
|
||||
:options="{ placement: 'top-start' }"
|
||||
@show="replyEnter(status.in_reply_to_status_id)"
|
||||
>
|
||||
<div class="popper-wrapper status-preview">
|
||||
<div class="popper-wrapper-inner" @mouseover.prevent.stop @focus.prevent.stop>
|
||||
<div
|
||||
class="popper-wrapper-inner"
|
||||
@mouseover.prevent.stop
|
||||
@focus.prevent.stop
|
||||
>
|
||||
<status
|
||||
v-if="preview"
|
||||
:isPreview="true"
|
||||
:is-preview="true"
|
||||
:statusoid="preview"
|
||||
:compact="true"
|
||||
/>
|
||||
<div v-else class="status-preview-loading">
|
||||
<i class="icon-spin4 animate-spin"></i>
|
||||
<div
|
||||
v-else
|
||||
class="status-preview-loading"
|
||||
>
|
||||
<i class="icon-spin4 animate-spin" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -189,10 +203,14 @@
|
|||
<a
|
||||
slot="reference"
|
||||
class="reply-to"
|
||||
href="#" @click.prevent="gotoOriginal(status.in_reply_to_status_id)"
|
||||
href="#"
|
||||
:aria-label="$t('tool_tip.reply')"
|
||||
@click.prevent="gotoOriginal(status.in_reply_to_status_id)"
|
||||
>
|
||||
<i class="button-icon icon-reply" v-if="!isPreview"></i>
|
||||
<i
|
||||
v-if="!isPreview"
|
||||
class="button-icon icon-reply"
|
||||
/>
|
||||
<span class="faint-link reply-to-text">{{ $t('status.reply_to') }}</span>
|
||||
</a>
|
||||
</Popper>
|
||||
|
@ -435,7 +453,6 @@ $status-margin: 0.75em;
|
|||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
|
||||
.media-left {
|
||||
margin-right: $status-margin;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue