Remove flex from general attachments.
This commit is contained in:
parent
f385e64a7c
commit
137a7e643d
1 changed files with 1 additions and 3 deletions
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
<audio v-if="type === 'audio'" :src="attachment.url" controls></audio>
|
<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 @click.prevent="linkClicked" v-if="type === 'html' && attachment.oembed" class="oembed">
|
||||||
<div v-if="attachment.thumb_url" class="image">
|
<div v-if="attachment.thumb_url" class="image">
|
||||||
<img :src="attachment.thumb_url"></img>
|
<img :src="attachment.thumb_url"></img>
|
||||||
|
@ -38,12 +36,12 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
.attachment {
|
.attachment {
|
||||||
flex: 1 0 30%;
|
flex: 1 0 30%;
|
||||||
display: flex;
|
|
||||||
margin: 0.5em 0.8em 0.6em 0.1em;
|
margin: 0.5em 0.8em 0.6em 0.1em;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
|
|
||||||
&.html {
|
&.html {
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hider {
|
.hider {
|
||||||
|
|
Loading…
Reference in a new issue