logo

pleroma-fe

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

status_history_modal.vue (1071B)


  1. <template>
  2. <Modal
  3. v-if="modalActivated"
  4. class="status-history-modal-view"
  5. @backdropClicked="closeModal"
  6. >
  7. <div class="status-history-modal-panel panel">
  8. <div class="panel-heading">
  9. <h1 class="title">
  10. {{ $t('status.status_history') }} ({{ historyCount }})
  11. </h1>
  12. </div>
  13. <div class="panel-body">
  14. <div
  15. v-if="historyCount > 0"
  16. class="history-body"
  17. >
  18. <status
  19. v-for="status in history"
  20. :key="status.id"
  21. :statusoid="status"
  22. :is-preview="true"
  23. class="conversation-status status-fadein panel-body"
  24. />
  25. </div>
  26. </div>
  27. </div>
  28. </Modal>
  29. </template>
  30. <script src="./status_history_modal.js"></script>
  31. <style lang="scss">
  32. .modal-view.status-history-modal-view {
  33. align-items: flex-start;
  34. }
  35. .status-history-modal-panel {
  36. flex-shrink: 0;
  37. margin-top: 25%;
  38. margin-bottom: 2em;
  39. width: 100%;
  40. max-width: 700px;
  41. @media (orientation: landscape) {
  42. margin-top: 8%;
  43. }
  44. }
  45. </style>