fixed the drag issue

This commit is contained in:
Thomas 2022-04-09 19:08:49 -05:00
parent 3071947c28
commit 5bcb05e0f6
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ const props = defineProps({
:grid="[stepX, stepY]"
:default-position="{ x: props.value.x, y: props.value.y }"
>
<div style="display: flex;">
<div>
<q-card flat bordered>
<q-card-section style="padding: 0">
<div class="row items-center no-wrap">

View File

@ -170,11 +170,12 @@ function richUpdateValue() {
</q-card-actions>
</q-card>
</q-dialog>
<div v-for="(item, index) in richTextStatements">
<div v-for="(item, index) in richTextStatements" style="display: flex">
<TextBox
:value="item"
v-on:edit="() => (item.text ? richEditStatement(index) : {})"
></TextBox>
/>
</div>
</q-page-container>