mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-27 06:01:08 +08:00
fix(frontend): grow all text areas with size, not just the markdown editor
This commit is contained in:
parent
0df726e4ef
commit
659c5bb076
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user