fix: simplify task text width
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
kolaente 2021-11-09 20:01:21 +01:00
parent 2f28b43243
commit 467ddf716f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -297,8 +297,6 @@ export default {
</script>
<style lang="scss" scoped>
$remove-icon-width: 24px;
.add-task-relation-button {
margin-top: -3rem;
@ -326,13 +324,10 @@ $remove-icon-width: 24px;
.tasks {
margin: 0;
a:not(.remove) {
width: calc(100% - #{$remove-icon-width});
}
.task {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: .75rem;
transition: background-color $transition;
border-radius: $radius;
@ -351,7 +346,6 @@ $remove-icon-width: 24px;
}
.remove {
width: $remove-icon-width;
text-align: center;
color: $red;
opacity: 0;