aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2017-11-21 10:30:30 +0200
committershpuld <shp@cock.li>2017-11-21 10:30:30 +0200
commit592c1cfd780ea8d5e9523a9875be698501293dc8 (patch)
treefba569110dcb398dcb717dbced50c7dfc234a483 /src/components/post_status_form
parentf6b2f6eaeed78ba4e4a6d12189b7d96474e54915 (diff)
Fix padding at user card bottom, mismatching border-radii. Sneak in fixes for attachment previews.
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index d0210286..a0000654 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -25,7 +25,7 @@
<i class="icon-cancel" @click="clearError"></i>
</div>
<div class="attachments">
- <div class="attachment base03-border" v-for="file in newStatus.files">
+ <div class="attachment base03-border media-upload-container" v-for="file in newStatus.files">
<i class="fa icon-cancel" @click="removeMediaFile(file)"></i>
<img class="thumbnail media-upload" :src="file.image" v-if="type(file) === 'image'"></img>
<video v-if="type(file) === 'video'" :src="file.image" controls></video>
@@ -40,6 +40,12 @@
<script src="./post_status_form.js"></script>
<style lang="scss">
+ .media-upload-container {
+ flex: 0 0 auto !important;
+ max-height: 300px;
+ max-width: 100%;
+ }
+
.tribute-container {
ul {
padding: 0px;