mirror of
https://github.com/Spythere/srjp-td2.git
synced 2026-05-03 21:48:13 +00:00
fix: table borders for left & right track speed limits separation
This commit is contained in:
@@ -128,11 +128,7 @@
|
|||||||
<!-- Vp, Vl -->
|
<!-- Vp, Vl -->
|
||||||
<td
|
<td
|
||||||
class="text-center align-top p-0 border-l-black dark:border-l-white relative"
|
class="text-center align-top p-0 border-l-black dark:border-l-white relative"
|
||||||
:class="{
|
:class="{
|
||||||
'border-t border-t-black dark:border-t-white':
|
|
||||||
row.lastRowRef != null &&
|
|
||||||
row.lastRowRef.departureSpeedL != row.arrivalSpeedL &&
|
|
||||||
row.lastRowRef.departureSpeedP != row.arrivalSpeedP,
|
|
||||||
'border-b border-b-black dark:border-b-white': i == computedTimetableRows.length - 1
|
'border-b border-b-black dark:border-b-white': i == computedTimetableRows.length - 1
|
||||||
}"
|
}"
|
||||||
colspan="2"
|
colspan="2"
|
||||||
@@ -141,7 +137,16 @@
|
|||||||
<table class="h-full w-full border-collapse">
|
<table class="h-full w-full border-collapse">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="align-top">
|
<tr class="align-top">
|
||||||
<td :colspan="row.arrivalTracks == 2 ? '1' : '2'" class="font-bold" width="35">
|
<td
|
||||||
|
:colspan="row.arrivalTracks == 2 ? '1' : '2'"
|
||||||
|
:class="{
|
||||||
|
'border-t border-t-black dark:border-t-white':
|
||||||
|
row.lastRowRef != null &&
|
||||||
|
row.lastRowRef.departureSpeedP != row.arrivalSpeedP
|
||||||
|
}"
|
||||||
|
class="font-bold"
|
||||||
|
width="35"
|
||||||
|
>
|
||||||
{{
|
{{
|
||||||
row.lastRowRef == null ||
|
row.lastRowRef == null ||
|
||||||
row.lastRowRef.departureSpeedP != row.arrivalSpeedP ||
|
row.lastRowRef.departureSpeedP != row.arrivalSpeedP ||
|
||||||
@@ -154,6 +159,11 @@
|
|||||||
<td
|
<td
|
||||||
v-if="row.arrivalTracks == 2"
|
v-if="row.arrivalTracks == 2"
|
||||||
class="border-l border-l-black dark:border-l-white"
|
class="border-l border-l-black dark:border-l-white"
|
||||||
|
:class="{
|
||||||
|
'border-t border-t-black dark:border-t-white':
|
||||||
|
row.lastRowRef != null &&
|
||||||
|
row.lastRowRef.departureSpeedL != row.arrivalSpeedL
|
||||||
|
}"
|
||||||
width="35"
|
width="35"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
|
|||||||
Reference in New Issue
Block a user