File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
plugins/plugin-codeflare/src/components Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ export default class BaseChart extends React.PureComponent<Props> {
7070
7171 private static readonly dimensions = {
7272 width : 120 ,
73- height : 200 ,
73+ height : 160 ,
7474 }
7575
7676 public static readonly padding = {
77- bottom : BaseChart . fontSize * 2 ,
77+ bottom : BaseChart . fontSize * 1.5 ,
7878 top : BaseChart . fontSize * 4 ,
79- left : BaseChart . fontSize * 4 ,
79+ left : BaseChart . fontSize * 3.5 ,
8080 right : BaseChart . fontSize * 4 ,
8181 }
8282
@@ -156,7 +156,7 @@ export default class BaseChart extends React.PureComponent<Props> {
156156 percentage : ( value : number ) => value + "%" ,
157157 memory : ( value : number ) => ~ ~ ( value / 1024 / 1024 ) + " GiB" ,
158158 timestamp : ( timestamp : number ) =>
159- timestamp < 60000 ? ( timestamp / 1000 ) . toFixed ( 0 ) + "s" : ( timestamp / 1000 / 60 ) . toFixed ( 1 ) + "m" ,
159+ timestamp < 60 * 3 * 1000 ? ( timestamp / 1000 ) . toFixed ( 0 ) + "s" : ( timestamp / 1000 / 60 ) . toFixed ( 1 ) + "m" ,
160160 }
161161
162162 private readonly minDomain = {
You can’t perform that action at this time.
0 commit comments