Fix spacing for lists with no rights to add new tasks

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

View File

@ -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 {

View File

@ -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;
} }

View File

@ -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