diff --git a/src/components/tasks/partials/relatedTasks.vue b/src/components/tasks/partials/relatedTasks.vue index 9279e147..8afcafb3 100644 --- a/src/components/tasks/partials/relatedTasks.vue +++ b/src/components/tasks/partials/relatedTasks.vue @@ -248,7 +248,9 @@ export default { } - + +.task-relations { + &.is-narrow .columns { + display: block; + + .column { + width: 100%; + } + } + + .different-list { + color: $grey-500; + width: auto; + } + + .related-tasks { + .title { + font-size: 1rem; + margin: 0; + } + + .tasks { + margin: 0; + + a:not(.remove) { + width: calc(100% - #{$remove-icon-width}); + } + + .task .tasktext { + width: calc(100% - .25rem); // Magic .25rem extra space + } + + .remove { + width: $remove-icon-width; + text-align: center; + } + } + } + + .none { + font-style: italic; + text-align: center; + } +} + \ No newline at end of file diff --git a/src/styles/components/_index.scss b/src/styles/components/_index.scss index 986d186b..36908919 100644 --- a/src/styles/components/_index.scss +++ b/src/styles/components/_index.scss @@ -2,7 +2,6 @@ @import "labels"; @import "list"; @import "task"; -@import "taskRelations"; @import "tasks"; @import "teams"; @import "namespaces"; \ No newline at end of file diff --git a/src/styles/components/taskRelations.scss b/src/styles/components/taskRelations.scss deleted file mode 100644 index 4da758ee..00000000 --- a/src/styles/components/taskRelations.scss +++ /dev/null @@ -1,45 +0,0 @@ -$remove-icon-width: 24px; - -.task-relations { - &.is-narrow .columns { - display: block; - - .column { - width: 100%; - } - } - - .different-list { - color: $grey-500; - width: auto; - } - - .related-tasks { - .title { - font-size: 1rem; - margin: 0; - } - - .tasks { - margin: 0; - - a:not(.remove) { - width: calc(100% - #{$remove-icon-width}); - } - - .task .tasktext { - width: calc(100% - .25rem); // Magic .25rem extra space - } - - .remove { - width: $remove-icon-width; - text-align: center; - } - } - } - - .none { - font-style: italic; - text-align: center; - } -} \ No newline at end of file