Make oembeds behave properly, hide empty html attachments, hide overflowing timeline background.

This commit is contained in:
shpuld 2017-11-13 11:08:34 +02:00
parent f74ad6d3e1
commit bac092d953
3 changed files with 7 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<template>
<div class="attachment base03-border" :class="{[type]: true, loading}" :style="autoHeight">
<div class="attachment base03-border" :class="{[type]: true, loading}" v-show="!isEmpty">
<a class="image-attachment" v-if="hidden" @click.prevent="toggleHidden()">
<img :key="nsfwImage" :src="nsfwImage"/>
</a>
@ -50,7 +50,8 @@
}
&.html {
flex-basis: 100%;
flex-basis: 90%;
width: 100%;
display: flex;
}