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 container className={classes.gridContainer}>
|
||||
<Grid item xs={8}>
|
||||
<Label2>Profit from commissions</Label2>
|
||||
<Label2 className={classes.labelMargin}>
|
||||
Profit from commissions
|
||||
</Label2>
|
||||
<div className={classes.profitContainer}>
|
||||
<div className={classes.profitLabel}>
|
||||
{`${getProfit(transactionsToShow)} ${
|
||||
|
|
@ -223,8 +225,8 @@ const SystemPerformance = () => {
|
|||
</Grid>
|
||||
<Grid item xs={4}>
|
||||
<Grid container>
|
||||
<Grid item style={{ marginRight: 34 }}>
|
||||
<Label2>Direction</Label2>
|
||||
<Grid item>
|
||||
<Label2 className={classes.labelMargin}>Direction</Label2>
|
||||
</Grid>
|
||||
<Grid
|
||||
item
|
||||
|
|
|
|||
|
|
@ -130,6 +130,10 @@ const styles = {
|
|||
height: 16,
|
||||
marginBottom: -2,
|
||||
marginRight: 4
|
||||
},
|
||||
labelMargin: {
|
||||
marginBottom: 20,
|
||||
marginRight: 32
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue