Move the image before text in calendar events

This commit is contained in:
Daniele Tonon
2024-03-05 00:17:06 +01:00
parent 851d009d1c
commit cd5f265829

View File

@@ -60,11 +60,11 @@ templ calendarEventTemplate(params CalendarPageParams) {
}
</div>
}
if params.CalendarEvent.Image != "" {
<img class="w-full mt-2" src={ params.CalendarEvent.Image } />
}
@templ.Raw(params.Content)
</div>
if params.CalendarEvent.Image != "" {
<img class="w-full" src={ params.CalendarEvent.Image } />
}
<div class="mb-4">
for _, v := range params.CalendarEvent.Hashtags {