flex system for eventdatas in post

This commit is contained in:
ogerly 2023-04-25 19:57:48 +02:00
parent c930dd6d52
commit 43728dd0a5
2 changed files with 15 additions and 6 deletions

View File

@ -52,7 +52,6 @@
{{ contentLength }}
<base-icon v-if="errors && errors.content" name="warning" />
</ds-chip>
<ds-space margin-top="base" />
<!-- Eventdata -->
<div v-if="creatEvent" class="eventDatas" style="background-color: #efeef1; padding: 10px">
{{ formData.eventStart }}

View File

@ -58,11 +58,21 @@
<content-viewer class="content hyphenate-text" :content="post.content" />
<!-- Eventdata -->
<ds-space v-if="post.postType[0] === 'Event'" margin-bottom="small">
<ds-list size="small" style="background-color: beige; padding: 10px;">
<ds-list-item><span style="width: 100px">Start:</span> {{ post.eventStart }}</ds-list-item>
<ds-list-item><span style="width: 100px">Location:</span> {{ post.eventLocationName }}</ds-list-item>
<ds-list-item><span style="width: 100px">Ort:</span> {{ post.eventVenue }}</ds-list-item>
</ds-list>
<ds-flex>
<ds-flex-item width="200px">Start:</ds-flex-item>
<ds-flex-item>{{ post.eventStart }}</ds-flex-item>
</ds-flex>
<ds-space margin-bottom="small" />
<ds-flex>
<ds-flex-item width="200px">Veranstaltungsort:</ds-flex-item>
<ds-flex-item class="text-bold">{{ post.eventLocationName }}</ds-flex-item>
</ds-flex>
<ds-space margin-bottom="small" />
<ds-flex>
<ds-flex-item width="200px">Stadt:</ds-flex-item>
<ds-flex-item>{{ post.eventVenue }}</ds-flex-item>
</ds-flex>
</ds-space>
<!-- Categories -->
<div v-if="categoriesActive" class="categories">