fix: vmax align

This commit is contained in:
2025-01-29 19:43:40 +01:00
parent c8381d1222
commit bf51ac34f1
+3 -7
View File
@@ -37,11 +37,7 @@
<div class="absolute top-0 left-0 w-full h-full"> <div class="absolute top-0 left-0 w-full h-full">
<table class="h-full w-full border-collapse"> <table class="h-full w-full border-collapse">
<tbody> <tbody>
<tr <tr class="align-top">
:class="{
'align-top': i == 0 || computedTimetable[i - 1].departureTracks == row.arrivalTracks,
}"
>
<td :colspan="row.arrivalTracks == 2 ? '1' : '2'" class="font-bold" width="35"> <td :colspan="row.arrivalTracks == 2 ? '1' : '2'" class="font-bold" width="35">
{{ {{
i == 0 || i == 0 ||
@@ -63,8 +59,8 @@
</tr> </tr>
<tr <tr
:class="{ :class="{
'border-t border-t-black dark:border-t-white': row.arrivalTracks != row.departureTracks || row.departureSpeed != row.arrivalSpeed, 'border-t border-t-black dark:border-t-white align-top':
'align-top': row.arrivalTracks != row.departureTracks, row.arrivalTracks != row.departureTracks || row.departureSpeed != row.arrivalSpeed,
}" }"
> >
<td :colspan="row.departureTracks == 2 ? '1' : '2'" class="font-bold" width="35"> <td :colspan="row.departureTracks == 2 ? '1' : '2'" class="font-bold" width="35">