fix table overflow x

This commit is contained in:
Julien Calixte
2023-08-04 00:15:41 +02:00
parent 6c92268a83
commit b60a734e6e
2 changed files with 13 additions and 2 deletions

View File

@@ -97,4 +97,9 @@ const recordNotes = computed(() => recordStore.getRecordNotes(props.taskId))
display: flex;
align-items: center;
}
table {
display: block;
overflow-x: auto;
}
</style>

View File

@@ -44,7 +44,7 @@ const exampleSteps: Stepable[] = [
id: createUuid(),
title: 'commit, push and create the PR',
estimation: 5
},
}
]
const steps = ref<Stepable[]>(props.initialTask?.steps ?? exampleSteps)
@@ -75,6 +75,8 @@ const saveTask = () => {
return false
}
const isValid = computed(() => title.value && steps.value.length > 0)
</script>
<template>
@@ -100,7 +102,11 @@ const saveTask = () => {
<step-input v-model="steps" />
<div class="columns is-centered">
<div class="column is-one-third">
<button class="button is-primary is-fullwidth" type="submit">
<button
class="button is-primary is-fullwidth"
type="submit"
:disabled="!isValid"
>
save
</button>
</div>