Handle whitespace properly

This commit is contained in:
Inkception 2023-06-02 17:01:11 +02:00
parent 407fb89279
commit 7a79b40595
No known key found for this signature in database
GPG Key ID: 947E053BFD3C889B

View File

@ -2,10 +2,10 @@
<template v-if="rule && schedule">
<div class="flex items-center w-full font-splatoon2">
<RuleIcon :rule="rule" class="h-5 lg:h-6" />
<div class="px-2 text-shadow md:whitespace-nowrap">
<div class="px-2 text-shadow whitespace-pre">
{{ $d(schedule.startTime, 'dateTimeShortWeekday') }}
&ndash;
{{ $d(schedule.endTime, 'dateTimeShortWeekday') }}
{{ $d(schedule.endTime, 'dateTimeShort') }}
</div>
<div class="flex justify-end w-full">