fix: spacing between username and notification

This commit is contained in:
kolaente 2022-05-06 22:14:38 +02:00
parent 24aca5cfa6
commit ce3f285224
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -21,20 +21,19 @@
: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>
<a @click="() => to(n, index)()">
{{ n.toText(userInfo) }}
</a>
</div>
<span class="created" v-tooltip="formatDate(n.created)">
{{ formatDateSince(n.created) }}
</span> </span>
<a @click="() => to(n, index)()">
{{ n.toText(userInfo) }}
</a>
</p>
<div class="created" v-tooltip="formatDate(n.created)">
{{ formatDateSince(n.created) }}
</div> </div>
</span>
</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/>