fix: spacing between username and notification
This commit is contained in:
parent
24aca5cfa6
commit
ce3f285224
1 changed files with 11 additions and 12 deletions
|
@ -21,21 +21,20 @@
|
||||||
:show-username="false"
|
:show-username="false"
|
||||||
:avatar-size="16"
|
:avatar-size="16"
|
||||||
v-if="n.notification.doer"/>
|
v-if="n.notification.doer"/>
|
||||||
<span class="detail">
|
<div class="detail">
|
||||||
<p>
|
<div>
|
||||||
|
<span class="has-text-weight-bold mr-1" v-if="n.notification.doer">
|
||||||
<span class="has-text-weight-bold" v-if="n.notification.doer">
|
|
||||||
{{ n.notification.doer.getDisplayName() }}
|
{{ n.notification.doer.getDisplayName() }}
|
||||||
</span>
|
</span>
|
||||||
<a @click="() => to(n, index)()">
|
<a @click="() => to(n, index)()">
|
||||||
{{ n.toText(userInfo) }}
|
{{ n.toText(userInfo) }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
|
||||||
<div class="created" v-tooltip="formatDate(n.created)">
|
|
||||||
{{ formatDateSince(n.created) }}
|
|
||||||
</div>
|
</div>
|
||||||
|
<span class="created" v-tooltip="formatDate(n.created)">
|
||||||
|
{{ formatDateSince(n.created) }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<p class="nothing" v-if="notifications.length === 0">
|
<p class="nothing" v-if="notifications.length === 0">
|
||||||
{{ $t('notification.none') }}<br/>
|
{{ $t('notification.none') }}<br/>
|
||||||
<span class="explainer">
|
<span class="explainer">
|
||||||
|
|
Loading…
Reference in a new issue