💄 (tasks) adjust designs

This commit is contained in:
Julien Calixte
2023-08-03 23:48:47 +02:00
parent c767c84a43
commit 1e66b1df5e
3 changed files with 10 additions and 6 deletions

View File

@@ -91,3 +91,10 @@ const recordNotes = computed(() => recordStore.getRecordNotes(props.taskId))
</div> </div>
</main> </main>
</template> </template>
<style lang="scss" scoped>
.title {
display: flex;
align-items: center;
}
</style>

View File

@@ -23,11 +23,7 @@ const { duration } = useTaskRecordMetadata(taskRecord)
class="button is-primary is-light" class="button is-primary is-light"
>recording page</router-link >recording page</router-link
> >
<div v-if="taskRecord" class="task-record-link-container content"> <div v-if="duration !== null">Last record took {{ duration }} minutes</div>
<span v-if="duration !== null"
>Last record took {{ duration }} minutes</span
>
</div>
<div v-else>No record yet</div> <div v-else>No record yet</div>
</div> </div>
</template> </template>

View File

@@ -55,6 +55,8 @@ const deleteTask = () => {
class="button is-link" class="button is-link"
>user story link</a >user story link</a
> >
<task-record-preview :task-id="id" />
<hr />
<div class="content"> <div class="content">
<ol> <ol>
<li v-for="step in task.steps" :key="step.id"> <li v-for="step in task.steps" :key="step.id">
@@ -65,7 +67,6 @@ const deleteTask = () => {
</li> </li>
</ol> </ol>
</div> </div>
<task-record-preview :task-id="id" />
</div> </div>
<task-not-found v-else /> <task-not-found v-else />
</template> </template>