mirror of
https://github.com/Spythere/srjp-td2.git
synced 2026-05-03 21:48:13 +00:00
hotfix: border colors & rendering
This commit is contained in:
@@ -26,20 +26,21 @@
|
|||||||
<table class="h-full w-full border-collapse">
|
<table class="h-full w-full border-collapse">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr
|
<tr
|
||||||
class="text-transparent"
|
:class="`align-top ${
|
||||||
:class="{
|
i == 0 ||
|
||||||
'align-top text-inherit':
|
(computedTimetable[i - 1].departureSpeed == row.arrivalSpeed &&
|
||||||
i > 0 &&
|
computedTimetable[i - 1].departureTracks == row.arrivalTracks &&
|
||||||
(computedTimetable[i - 1].departureSpeed != row.arrivalSpeed ||
|
computedTimetable[i - 1].realLine == row.realLine)
|
||||||
computedTimetable[i - 1].departureTracks != row.arrivalTracks ||
|
? 'text-transparent'
|
||||||
computedTimetable[i - 1].realLine != row.realLine),
|
: 'text-inherit'
|
||||||
}"
|
}`"
|
||||||
>
|
>
|
||||||
<td>{{ row.arrivalKm }}</td>
|
<td>{{ row.arrivalKm }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
:class="{
|
:class="{
|
||||||
'border-t align-top': row.arrivalTracks != row.departureTracks || row.departureSpeed != row.arrivalSpeed,
|
'border-black dark:border-white border-t align-top':
|
||||||
|
row.arrivalTracks != row.departureTracks || row.departureSpeed != row.arrivalSpeed,
|
||||||
hidden: row.arrivalTracks == row.departureTracks && row.departureSpeed == row.arrivalSpeed,
|
hidden: row.arrivalTracks == row.departureTracks && row.departureSpeed == row.arrivalSpeed,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user