Swap talk title and speakers
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2022-09-05 16:08:30 +02:00
parent 3ddc34afeb
commit 3e933bf0d9
2 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,8 @@ $timeslot-height: 0.65em;
border-left: 1px solid $color-highlight; border-left: 1px solid $color-highlight;
overflow: hidden; overflow: hidden;
.schedule-speaker, .schedule-title { .schedule-speaker {
margin-bottom: 0.5em;
overflow-x: hidden; overflow-x: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;

View File

@ -38,8 +38,10 @@
<span>{{ .end_time }}</span> <span>{{ .end_time }}</span>
</div> </div>
<div class="schedule-event-detail"> <div class="schedule-event-detail">
{{ with .speaker }}
<p class="schedule-speaker" title="{{ . }}">{{ . }}:</p>
{{ end }}
<h4 class="schedule-title" title="{{ .title }}">{{ .title }}</h4> <h4 class="schedule-title" title="{{ .title }}">{{ .title }}</h4>
<p class="schedule-speaker" title="{{ .speaker }}">{{ .speaker }}</p>
</div> </div>
</a> </a>
{{ end }} {{ end }}