PageFooter.vue 635 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <footer class="page-footer">
  3. <div class="edit">
  4. <EditLink />
  5. </div>
  6. <div class="updated">
  7. <LastUpdated />
  8. </div>
  9. </footer>
  10. </template>
  11. <script setup lang="ts">
  12. import EditLink from './EditLink.vue'
  13. import LastUpdated from './LastUpdated.vue'
  14. </script>
  15. <style scoped>
  16. .page-footer {
  17. padding-top: 1rem;
  18. padding-bottom: 1rem;
  19. overflow: auto;
  20. }
  21. @media (min-width: 960px) {
  22. .page-footer {
  23. display: flex;
  24. justify-content: space-between;
  25. align-items: center;
  26. }
  27. }
  28. .updated {
  29. padding-top: 4px;
  30. }
  31. @media (min-width: 960px) {
  32. .updated {
  33. padding-top: 0;
  34. }
  35. }
  36. </style>