fix(frontend): grow all text areas with size, not just the markdown editor

This commit is contained in:
MiniDigger | Martin 2022-12-25 00:41:35 +01:00
parent 0df726e4ef
commit 659c5bb076

View File

@ -100,7 +100,7 @@ function deletePage() {
</div>
<div v-if="!props.title && internalEditing && !preview" class="mt-11"></div>
<div v-if="internalEditing && !preview" class="pl-6 mt-1">
<InputTextarea v-model="rawEdited" :rows="rawEdited.split(/\r\n|\r|\n/g).length + 3" :maxlength="maxlength" counter></InputTextarea>
<InputTextarea v-model="rawEdited" :extra-rows="3" :maxlength="maxlength" counter></InputTextarea>
</div>
<div v-if="props.title && (!internalEditing || preview)" class="-mt-5"></div>
<Markdown v-if="!internalEditing" :raw="raw" class="pl-4" />