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(/.*\//, ""))} ))}