Fix related tasks list spacing

This commit is contained in:
kolaente 2020-07-24 22:20:10 +02:00
parent 57d0609577
commit dc4f85e808
No known key found for this signature in database
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,6 +22,9 @@
.tasks { .tasks {
margin: 0; margin: 0;
a:not(.remove) {
width: calc(100% - #{$remove-icon-width});
.task { .task {
padding: .5em; padding: .5em;
max-width: 100%; max-width: 100%;
@ -30,6 +35,16 @@
} }
} }
} }
.task .tasktext {
width: calc(100% - .25rem); // Magic .25rem extra space
}
.remove {
width: $remove-icon-width;
text-align: center;
}
}
} }
.none { .none {