Skip to content

Commit 65dcdc6

Browse files
authored
Update ViewBox for UploadFolderIcon (#1277)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
1 parent ebc2b20 commit 65dcdc6

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

portal-ui/src/icons/UploadFolderIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const UploadFile = (props: SVGProps<SVGSVGElement>) => {
2323
className={`min-icon`}
2424
fill={"currentcolor"}
2525
xmlns="http://www.w3.org/2000/svg"
26-
viewBox="0 0 255.001 218.1"
26+
viewBox="-1 -37.9 256 256"
2727
>
2828
<defs>
2929
<clipPath id="a">

portal-ui/src/screens/Console/Speedtest/STResults.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,16 @@ const styles = (theme: Theme) =>
199199
color: "#000",
200200
textAlign: "center",
201201
},
202+
download: {
203+
"& .min-icon": {
204+
color: "rgb(113,200,150)",
205+
},
206+
},
207+
upload: {
208+
"& .min-icon": {
209+
color: "rgb(66,127,172)",
210+
},
211+
},
202212
});
203213

204214
const STResults = ({ classes, results, start, autotune }: ISTResults) => {
@@ -323,10 +333,10 @@ const STResults = ({ classes, results, start, autotune }: ISTResults) => {
323333
<Grid item xs={12} md={6} lg={4}>
324334
<ObjectGeneral
325335
title={
326-
<Fragment>
336+
<div className={classes.download}>
327337
<DownloadStatIcon />
328338
&nbsp; GET
329-
</Fragment>
339+
</div>
330340
}
331341
throughput={getThroughput}
332342
objects={getObjects}
@@ -335,10 +345,10 @@ const STResults = ({ classes, results, start, autotune }: ISTResults) => {
335345
<Grid item xs={12} md={6} lg={4}>
336346
<ObjectGeneral
337347
title={
338-
<Fragment>
348+
<div className={classes.upload}>
339349
<UploadStatIcon />
340350
&nbsp; PUT
341-
</Fragment>
351+
</div>
342352
}
343353
throughput={putThroughput}
344354
objects={putObjects}

0 commit comments

Comments
 (0)