logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

edit_status_modal.vue (938B)


  1. <template>
  2. <Modal
  3. v-if="isFormVisible"
  4. class="edit-form-modal-view"
  5. @backdropClicked="closeModal"
  6. >
  7. <div class="edit-form-modal-panel panel">
  8. <div class="panel-heading">
  9. {{ $t('post_status.edit_status') }}
  10. </div>
  11. <PostStatusForm
  12. class="panel-body"
  13. v-bind="params"
  14. :post-handler="doEditStatus"
  15. :disable-polls="true"
  16. :disable-visibility-selector="true"
  17. @posted="closeModal"
  18. />
  19. </div>
  20. </Modal>
  21. </template>
  22. <script src="./edit_status_modal.js"></script>
  23. <style lang="scss">
  24. .modal-view.edit-form-modal-view {
  25. align-items: flex-start;
  26. }
  27. .edit-form-modal-panel {
  28. flex-shrink: 0;
  29. margin-top: 25%;
  30. margin-bottom: 2em;
  31. width: 100%;
  32. max-width: 700px;
  33. @media (orientation: landscape) {
  34. margin-top: 8%;
  35. }
  36. .form-bottom-left {
  37. max-width: 6.5em;
  38. .emoji-icon {
  39. justify-content: right;
  40. }
  41. }
  42. }
  43. </style>