Merge branch 'develop' into 'feature/attachment-form-improvements'
# Conflicts: # src/components/attachment/attachment.js
This commit is contained in:
commit
cb940a8742
15 changed files with 219 additions and 112 deletions
|
@ -11,6 +11,8 @@
|
|||
|
||||
<video v-if="type === 'video' && !nsfw" :src="attachment.url" controls></video>
|
||||
|
||||
<audio v-if="type === 'audio'" :src="attachment.url" controls></audio>
|
||||
|
||||
<span v-if="type === 'unknown'">Don't know how to display this...</span>
|
||||
|
||||
<div v-if="type === 'html' && attachment.oembed" class="oembed">
|
||||
|
@ -45,6 +47,10 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
audio {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
img.media-upload {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -94,7 +100,6 @@
|
|||
|
||||
img {
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
border: 1px solid;
|
||||
border-radius: 0.5em;
|
||||
width: 100%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue