Fix related tasks list spacing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kolaente 2020-07-24 22:20:10 +02:00
parent 57d0609577
commit dc4f85e808
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -1,3 +1,5 @@
$remove-icon-width: 24px;
.task-relations { .task-relations {
padding-bottom: 1em; padding-bottom: 1em;
@ -20,15 +22,28 @@
.tasks { .tasks {
margin: 0; margin: 0;
.task { a:not(.remove) {
padding: .5em; width: calc(100% - #{$remove-icon-width});
max-width: 100%;
.different-list { .task {
color: lighten($dark, 50); padding: .5em;
width: auto; max-width: 100%;
.different-list {
color: lighten($dark, 50);
width: auto;
}
} }
} }
.task .tasktext {
width: calc(100% - .25rem); // Magic .25rem extra space
}
.remove {
width: $remove-icon-width;
text-align: center;
}
} }
} }