Skip to content
Snippets Groups Projects
Commit 459e176e authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

style: use sensible white-space in markup

Auto-formatters can’t know if we rely on any special white-space
handling in our code, so they take the safe route and assume we do.

In this case we don’t, so we can apply formatting that looks a little
more sensible.
parent f033f3ef
No related branches found
No related tags found
No related merge requests found
...@@ -155,13 +155,13 @@ ...@@ -155,13 +155,13 @@
<div v-if="loaded.playlists"> <div v-if="loaded.playlists">
<div v-if="!timeslot.playlist_id"> <div v-if="!timeslot.playlist_id">
<span v-if="timeslot.show.default_playlist_id" class="tw-leading-none"> <span v-if="timeslot.show.default_playlist_id" class="tw-leading-none">
<span class="tw-block" <span class="tw-block">
><strong>{{ $t('emissionTable.playlist') }}:</strong> <strong>{{ $t('emissionTable.playlist') }}:</strong>
{{ {{
getPlaylistById(timeslot.show.default_playlist_id).description || getPlaylistById(timeslot.show.default_playlist_id).description ||
timeslot.show.default_playlist_id timeslot.show.default_playlist_id
}}</span }}
> </span>
<span class="tw-text-xs tw-text-red-500">{{ $t('calendar.fallback') }}</span> <span class="tw-text-xs tw-text-red-500">{{ $t('calendar.fallback') }}</span>
</span> </span>
<span v-else> <span v-else>
...@@ -169,10 +169,10 @@ ...@@ -169,10 +169,10 @@
</span> </span>
</div> </div>
<div v-else class="tw-leading-none"> <div v-else class="tw-leading-none">
<span class="tw-block" <span class="tw-block">
><strong>{{ $t('emissionTable.playlist') }}:</strong> <strong>{{ $t('emissionTable.playlist') }}:</strong>
{{ timeslot.playlist.description || timeslot.playlist_id }}</span {{ timeslot.playlist.description || timeslot.playlist_id }}
> </span>
<span class="tw-text-sm"> <span class="tw-text-sm">
<strong>{{ $t('emissionTable.duration') }}:</strong> <strong>{{ $t('emissionTable.duration') }}:</strong>
{{ playlistDuration(timeslot.playlist) }} {{ playlistDuration(timeslot.playlist) }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment