Fix spacing for lists with no rights to add new tasks
This commit is contained in:
parent
8828426c91
commit
769975b42b
3 changed files with 12 additions and 4 deletions
|
@ -28,9 +28,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-add .button {
|
.task-add {
|
||||||
padding: 10px 1rem;
|
padding: 1rem 1rem 0;
|
||||||
height: 40px;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
.button {
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-title {
|
.list-title {
|
||||||
|
|
|
@ -39,6 +39,10 @@
|
||||||
margin: 0 .5rem;
|
margin: 0 .5rem;
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-top: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<card :padding="false" :has-content="false">
|
<card :padding="false" :has-content="false">
|
||||||
<div class="field task-add p-4 mb-0" v-if="!list.isArchived && canWrite && list.id > 0">
|
<div class="field task-add" v-if="!list.isArchived && canWrite && list.id > 0">
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
<p :class="{ 'is-loading': taskService.loading}" class="control has-icons-left is-expanded">
|
<p :class="{ 'is-loading': taskService.loading}" class="control has-icons-left is-expanded">
|
||||||
<input
|
<input
|
||||||
|
|
Loading…
Reference in a new issue