chore: remove user margin from the component
This commit is contained in:
parent
218a19d907
commit
57c64bbf71
|
@ -20,7 +20,8 @@
|
|||
:user="n.notification.doer"
|
||||
:show-username="false"
|
||||
:avatar-size="16"
|
||||
v-if="n.notification.doer"/>
|
||||
v-if="n.notification.doer"
|
||||
/>
|
||||
<div class="detail">
|
||||
<div>
|
||||
<span class="has-text-weight-bold mr-1" v-if="n.notification.doer">
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
>
|
||||
<template #tag="{item: user}">
|
||||
<span class="assignee">
|
||||
<user :avatar-size="32" :show-username="false" :user="user"/>
|
||||
<user :avatar-size="32" :show-username="false" :user="user" class="m-2"/>
|
||||
<BaseButton @click="removeAssignee(user)" class="remove-assignee" v-if="!disabled">
|
||||
<icon icon="times"/>
|
||||
</BaseButton>
|
||||
</span>
|
||||
</template>
|
||||
<template #searchResult="{option: user}">
|
||||
<user :avatar-size="24" :show-username="true" :user="user" class="user-search-result"/>
|
||||
<user :avatar-size="24" :show-username="true" :user="user"/>
|
||||
</template>
|
||||
</Multiselect>
|
||||
</template>
|
||||
|
@ -149,8 +149,4 @@ async function findUser(query: string) {
|
|||
height: 18px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.user-search-result {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
|
@ -56,6 +56,7 @@
|
|||
:key="task.id + 'assignee' + a.id + i"
|
||||
:show-username="false"
|
||||
:user="a"
|
||||
class="m-2"
|
||||
/>
|
||||
|
||||
<!-- FIXME: use popup -->
|
||||
|
|
Reference in New Issue
Block a user