Skip to content

Commit

Permalink
front: change imported train schedules number of step color
Browse files Browse the repository at this point in the history
Signed-off-by: romainvalls <[email protected]>
  • Loading branch information
RomainValls committed Dec 10, 2024
1 parent 8f6131e commit 76553fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function ImportTrainScheduleTrainDetail({
</span>
<span
className={`import-train-schedule-traindetail-stepnb ${
trainData.steps.length <= 2 ? 'bg-secondary' : 'bg-primary'
trainData.steps.length <= 2 ? 'import-invalid-stepnb' : 'bg-primary'
}`}
>
{trainData.steps.length - 2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
height: 32px;
text-align: center;
}
.import-invalid-stepnb {
background-color: var(--error60);
}
}
.import-train-schedule-traindetail-with-hover {
cursor: pointer;
Expand Down

0 comments on commit 76553fd

Please sign in to comment.