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