Fix spacing for lists with no rights to add new tasks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kolaente 2021-01-24 14:27:52 +01:00
parent 8828426c91
commit 769975b42b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 12 additions and 4 deletions

@ -28,9 +28,13 @@
}
}
.task-add .button {
padding: 10px 1rem;
height: 40px;
.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