Skip to content

Commit 8a6bfc3

Browse files
authored
Merge pull request #5 from spikeninja/task-page-table-layout
fix: task page table layout when the cells data is too long
2 parents 3f169b7 + 2b80035 commit 8a6bfc3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/pages/tasks/[id].vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,15 @@ const { data: task, error } = useFetch(`/api/tasks/${route.params.id}`)
7575
</div>
7676
</div>
7777
</template>
78+
79+
<style scoped>
80+
th,
81+
td {
82+
padding: 8px;
83+
vertical-align: top;
84+
word-break: break-word;
85+
white-space: normal;
86+
overflow-wrap: break-word;
87+
max-width: 200px;
88+
}
89+
</style>

0 commit comments

Comments
 (0)