瀏覽代碼

fix: correct padding on chart

Jose Diaz-Gonzalez 2 年之前
父節點
當前提交
84f2e686e6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/main/home/app-dashboard/expanded-app/metrics/StackedAreaChart.tsx

+ 1 - 1
dashboard/src/main/home/app-dashboard/expanded-app/metrics/StackedAreaChart.tsx

@@ -117,7 +117,7 @@ const StackedAreaChart: React.FunctionComponent<StackedAreaChartProps> = ({
                     yScale={yScaleConfig}
                     height={height}
                     width={width}
-                    margin={{ top: 50, right: 0, bottom: 50, left: 50 }}
+                    margin={{ top: 0, right: 0, bottom: 20, left: 50 }}
 
                 >
                     <GridRows