fix: no root div

This commit is contained in:
Shariq Ansari 2024-06-03 19:28:10 +05:30
parent 2175d9639f
commit 0e14b68299
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@
resizeColumn: options.resizeColumn, resizeColumn: options.resizeColumn,
}" }"
row-key="name" row-key="name"
v-bind="$attrs"
> >
<ListHeader class="mx-5" @columnWidthUpdated="emit('columnWidthUpdated')"> <ListHeader class="mx-5" @columnWidthUpdated="emit('columnWidthUpdated')">
<ListHeaderItem <ListHeaderItem

View File

@ -1,7 +1,7 @@
<template> <template>
<div <div
v-if="reply?.message" v-if="reply?.message"
class="flex items-center justify-around gap-2 sm:px-10 px-4 pt-2" class="flex items-center justify-around gap-2 px-4 pt-2 sm:px-10"
> >
<div <div
class="mb-1 ml-13 flex-1 cursor-pointer rounded border-0 border-l-4 border-green-500 bg-gray-100 p-2 text-base text-gray-600" class="mb-1 ml-13 flex-1 cursor-pointer rounded border-0 border-l-4 border-green-500 bg-gray-100 p-2 text-base text-gray-600"
@ -18,7 +18,7 @@
<Button variant="ghost" icon="x" @click="reply = {}" /> <Button variant="ghost" icon="x" @click="reply = {}" />
</div> </div>
<div class="flex items-end gap-2 sm:px-10 px-4 py-2.5"> <div class="flex items-end gap-2 px-4 py-2.5 sm:px-10" v-bind="$attrs">
<div class="flex h-8 items-center gap-2"> <div class="flex h-8 items-center gap-2">
<FileUploader @success="(file) => uploadFile(file)"> <FileUploader @success="(file) => uploadFile(file)">
<template v-slot="{ openFileSelector }"> <template v-slot="{ openFileSelector }">