From 684e04a8e515f3288b6eaad4fb26306ce62a24c6 Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Thu, 16 Feb 2023 11:42:03 -0600 Subject: [PATCH] SPRINT-20: minor frontend tweaks --- src/qqq/components/widgets/charts/DefaultChartData.tsx | 2 +- src/qqq/components/widgets/charts/barchart/BarChart.tsx | 2 +- src/qqq/components/widgets/charts/linechart/SmallLineChart.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qqq/components/widgets/charts/DefaultChartData.tsx b/src/qqq/components/widgets/charts/DefaultChartData.tsx index 00fcd3b..210daf1 100644 --- a/src/qqq/components/widgets/charts/DefaultChartData.tsx +++ b/src/qqq/components/widgets/charts/DefaultChartData.tsx @@ -19,7 +19,7 @@ * along with this program. If not, see . */ -export const chartColors = ["info", "warning", "primary", "success", "error", "secondary", "dark", "custom1", "custom2", "custom3", "custom4", "custom5"]; +export const chartColors = ["info", "warning", "primary", "success", "secondary", "dark", "error", "custom1", "custom2", "custom3", "custom4", "custom5"]; ////////////////////////////////////////// diff --git a/src/qqq/components/widgets/charts/barchart/BarChart.tsx b/src/qqq/components/widgets/charts/barchart/BarChart.tsx index 8297b86..8894f95 100644 --- a/src/qqq/components/widgets/charts/barchart/BarChart.tsx +++ b/src/qqq/components/widgets/charts/barchart/BarChart.tsx @@ -152,7 +152,7 @@ function BarChart({color, title, description, date, data}: Props): JSX.Element py={2} pr={0.5} mt={-5} - height="12.5rem" + height="18.5rem" sx={{backgroundColor: color}} > diff --git a/src/qqq/components/widgets/charts/linechart/SmallLineChart.tsx b/src/qqq/components/widgets/charts/linechart/SmallLineChart.tsx index 4c8feee..94492e9 100644 --- a/src/qqq/components/widgets/charts/linechart/SmallLineChart.tsx +++ b/src/qqq/components/widgets/charts/linechart/SmallLineChart.tsx @@ -68,7 +68,7 @@ function SmallLineChart({color, title, description, date, chart}: Props): JSX.El py={2} pr={0.5} mt={-5} - height="12.5rem" + height="18.5rem" sx={{borderRadius: "10px", backgroundColor: colors.dark.focus}} >