mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
SPRINT-20: minor frontend tweaks
This commit is contained in:
@ -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"];
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
|
@ -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} />
|
||||||
|
@ -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} />
|
||||||
|
Reference in New Issue
Block a user