This repository was archived by the owner on Oct 5, 2022. It is now read-only.
File tree 2 files changed +9
-14
lines changed
2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ function BarChartCard(props: any) {
62
62
} ,
63
63
] ,
64
64
} ,
65
+ maintainAspectRatio : false ,
65
66
} ;
66
67
} , [ chartData , currentTab ] ) ;
67
68
@@ -172,12 +173,9 @@ function BarChartCard(props: any) {
172
173
</ ButtonGroup >
173
174
</ Col >
174
175
</ Row >
175
- < canvas
176
- height = "100"
177
- ref = { canvasRef }
178
- style = { { maxWidth : "100% !important" } }
179
- className = "sales-overview-sales-report"
180
- />
176
+ < div style = { { position : "relative" , height : 300 } } >
177
+ < canvas ref = { canvasRef } />
178
+ </ div >
181
179
</ CardBody >
182
180
</ Card >
183
181
) ;
Original file line number Diff line number Diff line change @@ -30,22 +30,19 @@ class TaskView extends React.Component<any, any> {
30
30
< Container fluid className = "main-content-container px-0" >
31
31
< div className = "px-4" >
32
32
< Row noGutters className = "page-header mb-4" >
33
- < PageTitle
34
- title = "Task"
35
- className = "text-sm-left mb-3"
36
- />
33
+ < PageTitle title = "Task" className = "text-sm-left mb-3" />
37
34
</ Row >
38
35
< Row >
39
- < Col md = "3" className = "mb-4" >
36
+ < Col md = "6" lg = "6" xl = " 3" className = "mb-4" >
40
37
< ElapsedCard elapsed = { taskData . elapsed } />
41
38
</ Col >
42
- < Col md = "3" className = "mb-4" >
39
+ < Col md = "6" lg = "6" xl = " 3" className = "mb-4" >
43
40
< ProgressCard progress = { taskData . progress } />
44
41
</ Col >
45
- < Col md = "3" className = "mb-4" >
42
+ < Col md = "6" lg = "6" xl = " 3" className = "mb-4" >
46
43
< QueriesPerSecond qps = { taskData . qps } />
47
44
</ Col >
48
- < Col md = "3" className = "mb-4" >
45
+ < Col md = "6" lg = "6" xl = " 3" className = "mb-4" >
49
46
< SpeedCard speed = { taskData . speed } />
50
47
</ Col >
51
48
</ Row >
You can’t perform that action at this time.
0 commit comments