Fix: profit and percentage chart labels margin
This commit is contained in:
parent
e59ddf69a7
commit
c17ecc770b
5 changed files with 12 additions and 6 deletions
|
|
@ -202,7 +202,9 @@ const SystemPerformance = () => {
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid container className={classes.gridContainer}>
|
<Grid container className={classes.gridContainer}>
|
||||||
<Grid item xs={8}>
|
<Grid item xs={8}>
|
||||||
<Label2>Profit from commissions</Label2>
|
<Label2 className={classes.labelMargin}>
|
||||||
|
Profit from commissions
|
||||||
|
</Label2>
|
||||||
<div className={classes.profitContainer}>
|
<div className={classes.profitContainer}>
|
||||||
<div className={classes.profitLabel}>
|
<div className={classes.profitLabel}>
|
||||||
{`${getProfit(transactionsToShow)} ${
|
{`${getProfit(transactionsToShow)} ${
|
||||||
|
|
@ -223,8 +225,8 @@ const SystemPerformance = () => {
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={4}>
|
<Grid item xs={4}>
|
||||||
<Grid container>
|
<Grid container>
|
||||||
<Grid item style={{ marginRight: 34 }}>
|
<Grid item>
|
||||||
<Label2>Direction</Label2>
|
<Label2 className={classes.labelMargin}>Direction</Label2>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid
|
<Grid
|
||||||
item
|
item
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,10 @@ const styles = {
|
||||||
height: 16,
|
height: 16,
|
||||||
marginBottom: -2,
|
marginBottom: -2,
|
||||||
marginRight: 4
|
marginRight: 4
|
||||||
|
},
|
||||||
|
labelMargin: {
|
||||||
|
marginBottom: 20,
|
||||||
|
marginRight: 32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 838 B |
|
|
@ -9,4 +9,4 @@
|
||||||
<line x1="0" y1="3" x2="4" y2="3" id="Line-12"></line>
|
<line x1="0" y1="3" x2="4" y2="3" id="Line-12"></line>
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 664 B |
|
|
@ -9,4 +9,4 @@
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 834 B After Width: | Height: | Size: 835 B |
Loading…
Add table
Add a link
Reference in a new issue