Use textarea instead of input for composing alt text (#15)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/15 Co-authored-by: sfr <sol@solfisher.com> Co-committed-by: sfr <sol@solfisher.com>
This commit is contained in:
parent
7025cb8bb0
commit
263ef17816
4 changed files with 39 additions and 6 deletions
|
@ -248,14 +248,15 @@
|
|||
class="description-container"
|
||||
:class="{ '-static': !edit }"
|
||||
>
|
||||
<input
|
||||
<textarea
|
||||
v-if="edit"
|
||||
v-model="localDescription"
|
||||
type="text"
|
||||
class="description-field"
|
||||
:placeholder="$t('post_status.media_description')"
|
||||
@keydown.enter.prevent=""
|
||||
>
|
||||
rows="1"
|
||||
cols="1"
|
||||
@input="resize"
|
||||
/>
|
||||
<p v-else>
|
||||
{{ localDescription }}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue