diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2019-09-26 21:14:31 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-09-26 21:14:31 +0300 |
| commit | 19cb98b85fc071dccd88bcdddff75d99cd4d944d (patch) | |
| tree | a99d9ed2ab174eea4533146b8f97c6bde9170eae /src/components/post_status_modal/post_status_modal.vue | |
| parent | c02433b7e69d4e19be50cb513327a8985f262998 (diff) | |
| parent | 501208d350a9bd0fbcafb13d70a2fa6182fb8cf3 (diff) | |
Merge branch 'develop' into feature/following_reblogs
Diffstat (limited to 'src/components/post_status_modal/post_status_modal.vue')
| -rw-r--r-- | src/components/post_status_modal/post_status_modal.vue | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/components/post_status_modal/post_status_modal.vue b/src/components/post_status_modal/post_status_modal.vue new file mode 100644 index 00000000..3f8eec69 --- /dev/null +++ b/src/components/post_status_modal/post_status_modal.vue @@ -0,0 +1,43 @@ +<template> + <div + v-if="isOpen" + class="post-form-modal-view modal-view" + @click="closeModal" + > + <div + class="post-form-modal-panel panel" + @click.stop="" + > + <div class="panel-heading"> + {{ $t('post_status.new_status') }} + </div> + <PostStatusForm + class="panel-body" + v-bind="params" + @posted="closeModal" + /> + </div> + </div> +</template> + +<script src="./post_status_modal.js"></script> + +<style lang="scss"> +@import '../../_variables.scss'; + +.post-form-modal-view { + align-items: flex-start; +} + +.post-form-modal-panel { + flex-shrink: 0; + margin-top: 25%; + margin-bottom: 2em; + width: 100%; + max-width: 700px; + + @media (orientation: landscape) { + margin-top: 8%; + } +} +</style> |
