Move quote button to extra buttons menu

This commit is contained in:
eris 2022-07-27 19:32:06 +00:00
parent 2258174a00
commit 6711b197ef
4 changed files with 15 additions and 1 deletions

View file

@ -6,6 +6,7 @@ import {
faEyeSlash,
faThumbtack,
faShareAlt,
faQuoteLeft,
faExternalLinkAlt
} from '@fortawesome/free-solid-svg-icons'
import {
@ -20,6 +21,7 @@ library.add(
faEyeSlash,
faThumbtack,
faShareAlt,
faQuoteLeft,
faExternalLinkAlt,
faFlag
)

View file

@ -116,6 +116,17 @@
:icon="['far', 'flag']"
/><span>{{ $t("user_card.report") }}</span>
</button>
<button
v-if="(status.visibility === 'public' || status.visibility === 'unlisted')"
class="button-default dropdown-item dropdown-item-icon"
@click.prevent="$emit('quote-toggle')"
@click="close"
>
<FAIcon
fixed-width
icon="quote-left"
/><span>{{ $t("tool_tip.quote") }}</span>
</button>
</div>
</template>
<template v-slot:trigger>

View file

@ -23,7 +23,7 @@
@import '../../_variables.scss';
.QuoteButton {
display: flex;
display: none;
> :first-child {
padding: 10px;

View file

@ -453,6 +453,7 @@
:status="status"
@onError="showError"
@onSuccess="clearError"
@quote-toggle="toggleQuoting"
/>
</div>
</div>