From 5969f1a6ba437d850af6057ea250f0f2409dafdc Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 15 Nov 2023 11:31:28 -0600 Subject: [PATCH] CE-740 Update breadcrumb size, weight, and color --- src/qqq/components/horseshoe/Breadcrumbs.tsx | 29 ++++++-------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/qqq/components/horseshoe/Breadcrumbs.tsx b/src/qqq/components/horseshoe/Breadcrumbs.tsx index f3006a4..dd9cf3c 100644 --- a/src/qqq/components/horseshoe/Breadcrumbs.tsx +++ b/src/qqq/components/horseshoe/Breadcrumbs.tsx @@ -25,6 +25,7 @@ import Icon from "@mui/material/Icon"; import {ReactNode, useContext} from "react"; import {Link} from "react-router-dom"; import QContext from "QContext"; +import pxToRem from "qqq/assets/theme/functions/pxToRem"; import MDTypography from "qqq/components/legacy/MDTypography"; interface Props @@ -112,35 +113,23 @@ function QBreadcrumbs({icon, title, route, light}: Props): JSX.Element (light ? white.main : grey[600]), }, }} > - - {icon} - + {icon} {fullRoutes.map((fullRoute: string) => ( - - {fullPathToLabel(fullRoute, fullRoute.replace(/.*\//, ""))} - + {fullPathToLabel(fullRoute, fullRoute.replace(/.*\//, ""))} ))}