This commit is contained in:
syuilo 2019-05-24 04:17:14 +09:00
parent 50251955cd
commit bcdab799d0
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -5,7 +5,7 @@
<div>
<header>
<mk-reaction-icon :reaction="notification.reaction"/>
<router-link :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<router-link class="name" :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<mk-time :time="notification.createdAt"/>
</header>
<router-link class="note-ref" :to="notification.note | notePage" :title="getNoteSummary(notification.note)">
@ -21,7 +21,7 @@
<div>
<header>
<fa icon="retweet"/>
<router-link :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<router-link class="name" :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<mk-time :time="notification.createdAt"/>
</header>
<router-link class="note-ref" :to="notification.note | notePage" :title="getNoteSummary(notification.note.renote)">
@ -37,7 +37,7 @@
<div>
<header>
<fa icon="user-plus"/>
<router-link :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<router-link class="name" :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<mk-time :time="notification.createdAt"/>
</header>
</div>
@ -48,7 +48,7 @@
<div>
<header>
<fa icon="user-clock"/>
<router-link :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<router-link class="name" :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<mk-time :time="notification.createdAt"/>
</header>
</div>
@ -59,7 +59,7 @@
<div>
<header>
<fa icon="chart-pie"/>
<router-link :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<router-link class="name" :to="notification.user | userPage"><mk-user-name :user="notification.user"/></router-link>
<mk-time :time="notification.createdAt"/>
</header>
<router-link class="note-ref" :to="notification.note | notePage" :title="getNoteSummary(notification.note)">
@ -130,6 +130,12 @@ export default Vue.extend({
[data-icon], .mk-reaction-icon
margin-right 4px
> .name
text-overflow ellipsis
white-space nowrap
min-width 0
overflow hidden
> .mk-time
margin-left auto
color var(--noteHeaderInfo)