Add an indicator to make the undo renote button look more interactable (#6366)
* Add an indicator to make the undo renote button look more interactable * Use faEllipsisH :art Co-authored-by: DW <chocological00@gitlab.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
b2d3d43c97
commit
65efe1f42c
|
@ -21,7 +21,10 @@
|
||||||
</router-link>
|
</router-link>
|
||||||
</i18n>
|
</i18n>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime"><mk-time :time="note.createdAt"/></button>
|
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime">
|
||||||
|
<fa class="dropdownIcon" :icon="faEllipsisH"/>
|
||||||
|
<mk-time :time="note.createdAt"/>
|
||||||
|
</button>
|
||||||
<span class="visibility" v-if="note.visibility !== 'public'">
|
<span class="visibility" v-if="note.visibility !== 'public'">
|
||||||
<fa v-if="note.visibility === 'home'" :icon="faHome"/>
|
<fa v-if="note.visibility === 'home'" :icon="faHome"/>
|
||||||
<fa v-if="note.visibility === 'followers'" :icon="faUnlock"/>
|
<fa v-if="note.visibility === 'followers'" :icon="faUnlock"/>
|
||||||
|
@ -85,7 +88,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { faBolt, faTimes, faBullhorn, faStar, faLink, faExternalLinkSquareAlt, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faQuoteRight, faInfoCircle } from '@fortawesome/free-solid-svg-icons';
|
import { faBolt, faTimes, faBullhorn, faStar, faLink, faExternalLinkSquareAlt, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faQuoteRight, faInfoCircle, faEllipsisH } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { faCopy, faTrashAlt, faEdit, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
import { faCopy, faTrashAlt, faEdit, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
|
||||||
import { parse } from '../../mfm/parse';
|
import { parse } from '../../mfm/parse';
|
||||||
import { sum, unique } from '../../prelude/array';
|
import { sum, unique } from '../../prelude/array';
|
||||||
|
@ -143,7 +146,7 @@ export default Vue.extend({
|
||||||
showContent: false,
|
showContent: false,
|
||||||
hideThisNote: false,
|
hideThisNote: false,
|
||||||
noteBody: this.$refs.noteBody,
|
noteBody: this.$refs.noteBody,
|
||||||
faEdit, faBolt, faTimes, faBullhorn, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan
|
faEdit, faBolt, faTimes, faBullhorn, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faEllipsisH
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -857,6 +860,10 @@ export default Vue.extend({
|
||||||
> .time {
|
> .time {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
||||||
|
> .dropdownIcon {
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .visibility {
|
> .visibility {
|
||||||
|
|
Loading…
Reference in New Issue