diff --git a/webapp/components/DateTimeRange/DateTimeRange.vue b/webapp/components/DateTimeRange/DateTimeRange.vue index de9b442c5..726eb1823 100644 --- a/webapp/components/DateTimeRange/DateTimeRange.vue +++ b/webapp/components/DateTimeRange/DateTimeRange.vue @@ -1,6 +1,6 @@ @@ -109,6 +119,7 @@ import CounterIcon from '~/components/_new/generic/CounterIcon/CounterIcon' import DateTimeRange from '~/components/DateTimeRange/DateTimeRange' import HcRibbon from '~/components/Ribbon' import LocationTeaser from '~/components/LocationTeaser/LocationTeaser' +import RelativeDateTime from '~/components/RelativeDateTime' import UserTeaser from '~/components/UserTeaser/UserTeaser' import { mapGetters } from 'vuex' import PostMutations from '~/graphql/PostMutations' @@ -123,6 +134,7 @@ export default { DateTimeRange, HcRibbon, LocationTeaser, + RelativeDateTime, UserTeaser, }, props: { @@ -251,6 +263,7 @@ export default { flex-direction: column; overflow: visible; height: 100%; + padding-bottom: $space-x-small; > .hero-image { border-top-left-radius: 5px; @@ -266,12 +279,6 @@ export default { margin-bottom: $space-small; } - & .event-info { - display: flex; - align-items: center; - gap: 2px; - } - > .footer { display: flex; justify-content: space-between; @@ -301,5 +308,21 @@ export default { .user-teaser { margin-bottom: $space-small; } + > .date-row { + display: flex; + justify-content: flex-end; + margin-top: $space-small; + > .text { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + color: $text-color-soft; + font-size: $font-size-small; + + > .ds-text { + display: inline; + } + } + } } diff --git a/webapp/components/UserTeaser/UserTeaser.vue b/webapp/components/UserTeaser/UserTeaser.vue index a82b91039..d4e70b653 100644 --- a/webapp/components/UserTeaser/UserTeaser.vue +++ b/webapp/components/UserTeaser/UserTeaser.vue @@ -14,12 +14,12 @@ {{ userSlug }} - {{ userName }} + {{ userName }} {{ userSlug }} - {{ userName }} + {{ userName }}   @@ -34,12 +34,11 @@ - + - {{ userName }} diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index 884ddb6c2..1e9622c13 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -405,12 +405,6 @@ export default { filter: blur($blur-radius); } - & .event-info { - display: flex; - align-items: center; - gap: 2px; - } - .blur-toggle { position: absolute; bottom: 0;