Skip to content

Commit 7a82ddf

Browse files
committed
front: fix simulation sheet and csv button style
Signed-off-by: Theo Macron <[email protected]>
1 parent 52ef1ae commit 7a82ddf

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

front/src/modules/simulationResult/SimulationResultExport/SimulationResultsExport.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const SimulationResultExport = ({
7474
onClick={() => window.open(url as string, '_blank')}
7575
variant="Quiet"
7676
label={t('simulationSheet')}
77+
size="medium"
7778
leadingIcon={<File />}
7879
/>
7980
)}
@@ -85,7 +86,8 @@ const SimulationResultExport = ({
8586
exportTrainCSV(simulatedTrain, operationalPoints, pathElectrifications, train)
8687
}
8788
variant="Quiet"
88-
label=".CSV"
89+
label=".csv"
90+
size="medium"
8991
leadingIcon={<Download />}
9092
/>
9193
</div>

front/src/styles/scss/applications/operationalStudies/_simulationresults.scss

+7-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
}
6161

6262
.time-stop-outputs {
63-
margin: 0 30px 27px 38px;
63+
margin: 0 30px 28px 38px;
6464
}
6565

6666
.driver-train-schedule {
@@ -73,10 +73,14 @@
7373
.simulation-sheet-container {
7474
display: flex;
7575
justify-content: space-between;
76-
padding: 0 33.5px 75px 32.5px;
76+
padding: 0 33.5px 75px 42.5px;
7777
button {
78-
background-color: rgba(235, 235, 234, 0.4); // grey10 with 40% opacity
78+
background-color: var(--black5);
7979
font-weight: 500;
80+
font-size: 1rem;
81+
}
82+
svg {
83+
color: var(--primary60);
8084
}
8185
}
8286

0 commit comments

Comments
 (0)