diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 23af693f..cb31020d 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -60,7 +60,8 @@ const Attachment = { return this.size === 'small' }, fullwidth () { - return this.type === 'html' || this.type === 'audio' + if (this.size === 'hide') return false + return this.type === 'html' || this.type === 'audio' || this.type === 'unknown' }, useModal () { const modalTypes = this.size === 'hide' ? ['image', 'video', 'audio'] diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index a18bf186..be7377e9 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -1,6 +1,7 @@