diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-21 15:24:05 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-21 15:24:05 +0100 |
| commit | 137a7e643d22be6461f79cc134df1e459c576228 (patch) | |
| tree | b215e37bb4e7d80a5ceafc5dc7296debfad94652 | |
| parent | f385e64a7c3922fee229cd9bf907dd0949090f13 (diff) | |
Remove flex from general attachments.
| -rw-r--r-- | src/components/attachment/attachment.vue | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 738a1e86..e0eba6a9 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -16,8 +16,6 @@ <audio v-if="type === 'audio'" :src="attachment.url" controls></audio> - <span v-if="type === 'unknown'">Don't know how to display this...</span> - <div @click.prevent="linkClicked" v-if="type === 'html' && attachment.oembed" class="oembed"> <div v-if="attachment.thumb_url" class="image"> <img :src="attachment.thumb_url"></img> @@ -38,12 +36,12 @@ flex-wrap: wrap; .attachment { flex: 1 0 30%; - display: flex; margin: 0.5em 0.8em 0.6em 0.1em; align-self: flex-start; &.html { flex-basis: 100%; + display: flex; } .hider { |
