Skip to content

Commit

Permalink
front: fix simulation sheet and csv button style
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Macron <[email protected]>
  • Loading branch information
Akctarus committed Dec 4, 2024
1 parent d9369b0 commit 908d2aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const SimulationResultExport = ({
onClick={() => window.open(url as string, '_blank')}
variant="Quiet"
label={t('simulationSheet')}
size="medium"
leadingIcon={<File />}
/>
)}
Expand All @@ -85,7 +86,8 @@ const SimulationResultExport = ({
exportTrainCSV(simulatedTrain, operationalPoints, pathElectrifications, train)
}
variant="Quiet"
label=".CSV"
label=".csv"
size="medium"
leadingIcon={<Download />}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}

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

.driver-train-schedule {
Expand All @@ -73,10 +73,14 @@
.simulation-sheet-container {
display: flex;
justify-content: space-between;
padding: 0 33.5px 75px 32.5px;
padding: 0 33.5px 75px 42.5px;
button {
background-color: rgba(235, 235, 234, 0.4); // grey10 with 40% opacity
background-color: var(--black5);
font-weight: 500;
font-size: 1rem;
}
svg {
color: var(--primary60);
}
}

Expand Down

0 comments on commit 908d2aa

Please sign in to comment.