fix table overflow x
This commit is contained in:
@@ -97,4 +97,9 @@ const recordNotes = computed(() => recordStore.getRecordNotes(props.taskId))
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ const exampleSteps: Stepable[] = [
|
|||||||
id: createUuid(),
|
id: createUuid(),
|
||||||
title: 'commit, push and create the PR',
|
title: 'commit, push and create the PR',
|
||||||
estimation: 5
|
estimation: 5
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
const steps = ref<Stepable[]>(props.initialTask?.steps ?? exampleSteps)
|
const steps = ref<Stepable[]>(props.initialTask?.steps ?? exampleSteps)
|
||||||
@@ -75,6 +75,8 @@ const saveTask = () => {
|
|||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const isValid = computed(() => title.value && steps.value.length > 0)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -100,7 +102,11 @@ const saveTask = () => {
|
|||||||
<step-input v-model="steps" />
|
<step-input v-model="steps" />
|
||||||
<div class="columns is-centered">
|
<div class="columns is-centered">
|
||||||
<div class="column is-one-third">
|
<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
|
save
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user