fix big content

This commit is contained in:
vadim committed 2026-10-05 19:36:46 +03:00
1 parent 51debefee5
commit 37fa2b5966
3 files changed
+27 -9

No files matched your search

+6 -3
View File
@@ -34,16 +34,19 @@ const cancel = () => {
<v-sheet
v-bind="props"
:class="isHovering ? 'px-0' : 'px-0'"
class="py-1 cursor-pointer content-sheet"
class="cursor-pointer d-flex ga-1"
@click="startEdit"
>
{{ text ?? 'click to add content' }}
<div class="content-sheet">
{{ text ?? 'click to add content' }}
</div>
<v-icon v-if="isHovering" icon="mdi-pencil" size="small" />
</v-sheet>
</v-hover>
</template>
<template v-else>
<v-textarea autofocus class="mb-1" hide-details v-model="draft" variant="outlined" auto-grow rows="4" />
<v-textarea autofocus class="mb-1" hide-details v-model="draft" variant="outlined" auto-grow rows="4" max-rows="15" />
<div class="d-flex justify-end ga-1">
<v-btn density="compact" prepend-icon="mdi-cancel" variant="text" text="Cancel" @click="cancel" />