diff --git a/src/components/tasks/partials/heading.vue b/src/components/tasks/partials/heading.vue index c808e5abf..cf79f902c 100644 --- a/src/components/tasks/partials/heading.vue +++ b/src/components/tasks/partials/heading.vue @@ -8,10 +8,11 @@
Done

{{ task.title }}

@@ -49,6 +50,10 @@ export default { value: { required: true, }, + canWrite: { + type: Boolean, + default: false, + }, }, watch: { value(newVal) { diff --git a/src/styles/theme/form.scss b/src/styles/theme/form.scss index bf8be6853..2643b7fd5 100644 --- a/src/styles/theme/form.scss +++ b/src/styles/theme/form.scss @@ -179,6 +179,14 @@ background: $input-background-color; border-color: $input-focus-border-color; } + + &.disabled { + &:focus, &:hover { + background: transparent !important; + border-color: transparent !important; + cursor: default !important; + } + } } h1, h2, h3 { diff --git a/src/views/tasks/TaskDetailView.vue b/src/views/tasks/TaskDetailView.vue index 4eb54fc09..ece1681af 100644 --- a/src/views/tasks/TaskDetailView.vue +++ b/src/views/tasks/TaskDetailView.vue @@ -1,7 +1,7 @@