Fix task in list style for tasks with assignees

This commit is contained in:
kolaente 2020-09-05 23:41:23 +02:00
parent a8a7f70a3c
commit 5f5db5f12f
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 11 additions and 4 deletions

View file

@ -31,7 +31,6 @@
.tasktext, .tasktext,
&.tasktext { &.tasktext {
vertical-align: top;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
@ -217,6 +216,10 @@
margin-top: 2em; margin-top: 2em;
} }
.user img{
margin: 0;
}
.spinner.is-loading:after { .spinner.is-loading:after {
margin-left: calc(40% - 1em); margin-left: calc(40% - 1em);
} }

View file

@ -35,9 +35,13 @@
</template> </template>
<div :class="{ 'is-loading': taskService.loading}" class="spinner"></div> <div :class="{ 'is-loading': taskService.loading}" class="spinner"></div>
<div class="tasks" v-if="tasks && tasks.length > 0"> <div class="tasks" v-if="tasks && tasks.length > 0">
<div :key="t.id" class="task" v-for="t in tasks"> <single-task-in-list
<single-task-in-list :show-list="true" :the-task="t" @taskUpdated="updateTasks"/> :key="t.id"
</div> class="task"
v-for="t in tasks"
:show-list="true"
:the-task="t"
@taskUpdated="updateTasks"/>
</div> </div>
</div> </div>
</template> </template>