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>
This commit is contained in:
Daniel Valdivia
2021-12-01 13:14:08 -08:00
committed by GitHub
parent ebc2b208d2
commit 65dcdc674a
2 changed files with 15 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ const UploadFile = (props: SVGProps<SVGSVGElement>) => {
className={`min-icon`}
fill={"currentcolor"}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 255.001 218.1"
viewBox="-1 -37.9 256 256"
>
<defs>
<clipPath id="a">

View File

@@ -199,6 +199,16 @@ const styles = (theme: Theme) =>
color: "#000",
textAlign: "center",
},
download: {
"& .min-icon": {
color: "rgb(113,200,150)",
},
},
upload: {
"& .min-icon": {
color: "rgb(66,127,172)",
},
},
});
const STResults = ({ classes, results, start, autotune }: ISTResults) => {
@@ -323,10 +333,10 @@ const STResults = ({ classes, results, start, autotune }: ISTResults) => {
<Grid item xs={12} md={6} lg={4}>
<ObjectGeneral
title={
<Fragment>
<div className={classes.download}>
<DownloadStatIcon />
&nbsp; GET
</Fragment>
</div>
}
throughput={getThroughput}
objects={getObjects}
@@ -335,10 +345,10 @@ const STResults = ({ classes, results, start, autotune }: ISTResults) => {
<Grid item xs={12} md={6} lg={4}>
<ObjectGeneral
title={
<Fragment>
<div className={classes.upload}>
<UploadStatIcon />
&nbsp; PUT
</Fragment>
</div>
}
throughput={putThroughput}
objects={putObjects}