forked from vikunja/frontend
Improve margins and fix Kanban alignment of icons
This commit is contained in:
parent
e201560d58
commit
2b74db3bdf
|
@ -47,6 +47,7 @@
|
|||
<defer-task v-if="+new Date(task.dueDate) > 0 && showDefer" v-model="task"/>
|
||||
</transition>
|
||||
<priority-label :priority="task.priority"/>
|
||||
<span>
|
||||
<span class="list-task-icon" v-if="task.attachments.length > 0">
|
||||
<icon icon="paperclip"/>
|
||||
</span>
|
||||
|
@ -54,6 +55,7 @@
|
|||
<icon icon="align-left"/>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<router-link
|
||||
:to="{ name: 'list.list', params: { listId: task.listId } }"
|
||||
class="task-list"
|
||||
|
|
|
@ -97,6 +97,7 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
|
|||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 8px;
|
||||
|
||||
.items {
|
||||
display: flex;
|
||||
|
@ -122,6 +123,7 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
|
|||
|
||||
.icons-container {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
.icon {
|
||||
width: 25px;
|
||||
height: 24px;
|
||||
|
|
|
@ -71,7 +71,12 @@
|
|||
}
|
||||
|
||||
.list-task-icon {
|
||||
margin-left: 4px;
|
||||
margin-left: 6px;
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
Loading…
Reference in New Issue
Block a user