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 +116,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 +131,7 @@ export default { DateTimeRange, HcRibbon, LocationTeaser, + RelativeDateTime, UserTeaser, }, props: { @@ -251,6 +260,7 @@ export default { flex-direction: column; overflow: visible; height: 100%; + padding-bottom: $space-x-small; > .hero-image { border-top-left-radius: 5px; @@ -266,12 +276,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 +305,21 @@ export default { .user-teaser { margin-bottom: $space-small; } + > .date-row { + display: flex; + justify-content: 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 }}