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 (971B)


  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. <h1 class="title">
  10. {{ $t('post_status.edit_status') }}
  11. </h1>
  12. </div>
  13. <EditStatusForm
  14. ref="editStatusForm"
  15. class="panel-body"
  16. :params="params"
  17. @posted="doCloseModal"
  18. @draft-done="doCloseModal"
  19. @can-close="doCloseModal"
  20. />
  21. </div>
  22. </Modal>
  23. </template>
  24. <script src="./edit_status_modal.js"></script>
  25. <style lang="scss">
  26. .modal-view.edit-form-modal-view {
  27. align-items: flex-start;
  28. }
  29. .edit-form-modal-panel {
  30. flex-shrink: 0;
  31. margin-top: 25%;
  32. margin-bottom: 2em;
  33. width: 100%;
  34. max-width: 700px;
  35. @media (orientation: landscape) {
  36. margin-top: 8%;
  37. }
  38. .form-bottom-left {
  39. max-width: 6.5em;
  40. .emoji-icon {
  41. justify-content: right;
  42. }
  43. }
  44. }
  45. </style>