aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2017-11-08 15:09:02 +0200
committershpuld <shp@cock.li>2017-11-08 15:09:02 +0200
commit0e716e3cd9e58b567245002687ac39ea18837336 (patch)
tree67569887cc37df7b4a822c332e6313937538e540 /src/components/attachment/attachment.vue
parent23d1354046da36e748526c0e139a4f6bd1be18c9 (diff)
Fix oembeds from overflowing on Firefox, fix video border color as well as vertical size.
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 870ee233..98cd97fb 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -11,7 +11,7 @@
<img class="base03-border" referrerpolicy="no-referrer" :src="attachment.large_thumb_url || attachment.url"/>
</a>
- <video v-if="type === 'video' && !hidden" :src="attachment.url" controls loop></video>
+ <video class="base03" v-if="type === 'video' && !hidden" :src="attachment.url" controls loop></video>
<audio v-if="type === 'audio'" :src="attachment.url" controls></audio>
@@ -59,6 +59,7 @@
}
video {
+ max-height: 500px;
height: 100%;
border: 1px solid;
border-radius: 5px;
@@ -103,6 +104,7 @@
.text {
flex: 2;
margin: 8px;
+ word-break: break-all;
h1 {
font-size: 14px;
margin: 0px;