Skip to content

Commit 9eab392

Browse files
committed
some style fixes
1 parent 3fe50d2 commit 9eab392

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

src/components/BoardDragAndDrop.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function addTask({ column, title }: { column: Column; title: string }) {
5757
</script>
5858

5959
<template>
60-
<div class="flex py-12 items-start">
60+
<div class="flex py-12 items-start max-w-full overflow-x-auto">
6161
<draggable
6262
:list="columns"
6363
group="columns"
@@ -106,6 +106,11 @@ async function addTask({ column, title }: { column: Column; title: string }) {
106106
</div>
107107
</template>
108108
</draggable>
109-
<button class="text-gray-500" @click="addColumn">New Column +</button>
109+
<button
110+
class="text-gray-500 whitespace-nowrap pr-10 block"
111+
@click="addColumn"
112+
>
113+
New Column +
114+
</button>
110115
</div>
111116
</template>

src/components/TaskCreator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const emit = defineEmits<{
1010
}>();
1111
const handleActivate = () => {
1212
active.value = true;
13-
nextTick(() => input.value.focus());
13+
nextTick(() => input.value?.focus());
1414
};
1515
const handleEnter = () => {
1616
emit("create", value.value);

src/components/TheDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function onSelect({ itemIndex }: { itemIndex: number }) {
6262
:items="items"
6363
@select="onSelect"
6464
>
65-
<DrawerContent>
65+
<DrawerContent class="max-w-full overflow-hidden">
6666
<div class="p-5">
6767
<router-view />
6868
</div>

0 commit comments

Comments
 (0)