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 {
|
||||
padding: 10px 1rem;
|
||||
.task-add {
|
||||
padding: 1rem 1rem 0;
|
||||
margin-bottom: 0;
|
||||
|
||||
.button {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.list-title {
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
margin: 0 .5rem;
|
||||
border-radius: $radius;
|
||||
|
||||
&:first-child {
|
||||
margin-top: .5rem;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
</div>
|
||||
|
||||
<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">
|
||||
<p :class="{ 'is-loading': taskService.loading}" class="control has-icons-left is-expanded">
|
||||
<input
|
||||
|
|
Loading…
Reference in a new issue