aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2017-11-13 09:34:16 +0000
committerlambda <pleromagit@rogerbraun.net>2017-11-13 09:34:16 +0000
commitc3b401167dcee32f57a271fc966a811cfe4b1fc5 (patch)
tree64d952e7c531aa72a52fe26911509fe7cf43b8a9 /src/components/attachment/attachment.js
parentd7e4279c590a002411abb31f2f164301fdb34493 (diff)
parentbac092d953eb661bcbcc06b734c509e68f939818 (diff)
Merge branch 'fix/css-fixes-attachments-timeline-bottom' into 'develop'
CSS fixes Closes #39 See merge request pleroma/pleroma-fe!154
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index ccf26b79..de551611 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -23,12 +23,8 @@ const Attachment = {
hidden () {
return this.nsfw && this.hideNsfwLocal && !this.showHidden
},
- autoHeight () {
- if (this.type === 'image' && this.nsfw) {
- return {
- 'min-height': '109px'
- }
- }
+ isEmpty () {
+ return this.type === 'html' && !this.attachment.oembed
}
},
methods: {