SPRINT-20: minor frontend tweaks

This commit is contained in:
Tim Chamberlain
2023-02-16 11:42:03 -06:00
parent 3d3f7efa1d
commit 684e04a8e5
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
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"];
////////////////////////////////////////// //////////////////////////////////////////

View File

@ -152,7 +152,7 @@ function BarChart({color, title, description, date, data}: Props): JSX.Element
py={2} py={2}
pr={0.5} pr={0.5}
mt={-5} mt={-5}
height="12.5rem" height="18.5rem"
sx={{backgroundColor: color}} sx={{backgroundColor: color}}
> >
<Bar data={chartData} options={options} /> <Bar data={chartData} options={options} />

View File

@ -68,7 +68,7 @@ function SmallLineChart({color, title, description, date, chart}: Props): JSX.El
py={2} py={2}
pr={0.5} pr={0.5}
mt={-5} mt={-5}
height="12.5rem" height="18.5rem"
sx={{borderRadius: "10px", backgroundColor: colors.dark.focus}} sx={{borderRadius: "10px", backgroundColor: colors.dark.focus}}
> >
<Line data={data} options={options} /> <Line data={data} options={options} />