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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue