logo

pleroma-fe

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

status_history_modal.vue (1028B)


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