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 {
padding-bottom: 1em;
@ -20,6 +22,9 @@
.tasks {
margin: 0;
a:not(.remove) {
width: calc(100% - #{$remove-icon-width});
.task {
padding: .5em;
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 {