From d2f4ce442a7130f29aea72cfc558727e597dd1b4 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 21 Feb 2024 14:05:26 +0200 Subject: [PATCH] fix attachment inputs --- src/components/attachment/attachment.style.js | 3 ++- src/components/attachment/attachment.vue | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/attachment/attachment.style.js b/src/components/attachment/attachment.style.js index 74e355c4ea..5fb4701c33 100644 --- a/src/components/attachment/attachment.style.js +++ b/src/components/attachment/attachment.style.js @@ -3,7 +3,8 @@ export default { selector: '.Attachment', validInnerComponents: [ 'Border', - 'ButtonUnstyled' + 'ButtonUnstyled', + 'Input' ], defaultRules: [ { diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 79f628061c..39b1a4094f 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -38,7 +38,7 @@ v-if="edit" v-model="localDescription" type="text" - class="description-field" + class="input description-field" :placeholder="$t('post_status.media_description')" @keydown.enter.prevent="" > @@ -253,7 +253,7 @@ v-if="edit" v-model="localDescription" type="text" - class="description-field" + class="input description-field" :placeholder="$t('post_status.media_description')" @keydown.enter.prevent="" >