From fa8fa2d3302b5282c1ebc129278365d100be7533 Mon Sep 17 00:00:00 2001 From: shpuld Date: Sat, 14 Apr 2018 15:45:38 +0300 Subject: Force oembeds to use 100% width --- src/components/attachment/attachment.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/attachment/attachment.js') diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 163dd74f..d9bc4477 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -33,6 +33,9 @@ const Attachment = { }, isSmall () { return this.size === 'small' + }, + fullwidth () { + return fileTypeService.fileType(this.attachment.mimetype) === 'html' } }, methods: { -- cgit v1.2.3-70-g09d2