Skip to content

Commit

Permalink
fixup! front: small improvements on scenario page
Browse files Browse the repository at this point in the history
  • Loading branch information
clarani committed Oct 24, 2024
1 parent 8b74257 commit e70742a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const SimulationResults = ({
pathProperties &&
operationalPoints &&
infraId && (
<div className="osrd-simulation-container mb-2">
<div className="time-stop-outputs">
<TimesStopsOutput
simulatedTrain={trainSimulation}
pathProperties={pathProperties}
Expand All @@ -237,7 +237,7 @@ const SimulationResults = ({
selectedTrainRollingStock &&
operationalPoints &&
infraId && (
<div className="osrd-simulation-container mb-2 bg-white">
<div className="driver-train-schedule">
<DriverTrainSchedule
train={selectedTrainSchedule}
simulatedTrain={trainSimulation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
border-radius: 4px;
width: 100%;
background: var(--secondary);
z-index: 2;
z-index: 10;
top: 0;
left: 0;
padding: 0.5rem;
Expand Down Expand Up @@ -55,6 +55,17 @@
box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 4px 7px -3px rgba(255, 171, 88, 0.17), 0 2px 4px rgba(0, 0, 0, 0.22);
}

.time-stop-outputs {
margin: 0 30px 27px 38px;
}

.driver-train-schedule {
background-color: white;
padding: 1rem;
border-radius: 4px;
margin-inline: 38px 30px;
}

/* MAP */
.train-speed-label {
text-shadow: 0 0 3px #fff;
Expand Down

0 comments on commit e70742a

Please sign in to comment.