aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2017-11-21 10:52:09 +0200
committershpuld <shp@cock.li>2017-11-21 10:52:09 +0200
commit4e07b89bcfb821afb65d39eb389bcb0b4de697c8 (patch)
tree7c5d9d93b83da653e5e241ca7cc99b3e2aee3108 /src
parent592c1cfd780ea8d5e9523a9875be698501293dc8 (diff)
not so \!important after all
Diffstat (limited to 'src')
-rw-r--r--src/components/attachment/attachment.vue7
-rw-r--r--src/components/post_status_form/post_status_form.vue7
2 files changed, 8 insertions, 6 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 7a5923b4..57ff2625 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -34,6 +34,13 @@
display: flex;
flex-wrap: wrap;
margin-right: -0.7em;
+
+ .attachment.media-upload-container {
+ flex: 0 0 auto;
+ max-height: 300px;
+ max-width: 100%;
+ }
+
.attachment {
flex: 1 0 30%;
margin: 0.5em 0.7em 0.6em 0.0em;
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index a0000654..19a00aeb 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 media-upload-container" v-for="file in newStatus.files">
+ <div class="media-upload-container attachment base03-border" 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,11 +40,6 @@
<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 {