Fixes to lineHeight (looks better when wraped (e.g., mobile))

This commit is contained in:
2023-11-22 11:43:52 -06:00
parent 2ace79c08a
commit d293db5136

View File

@ -116,6 +116,9 @@ function QBreadcrumbs({icon, title, route, light}: Props): JSX.Element
fontSize: "1.125rem", fontSize: "1.125rem",
fontWeight: "500", fontWeight: "500",
color: colors.dark.main, color: colors.dark.main,
"& li": {
lineHeight: "unset!important"
},
"& a": { "& a": {
color: colors.gray.main color: colors.gray.main
}, },
@ -127,7 +130,7 @@ function QBreadcrumbs({icon, title, route, light}: Props): JSX.Element
}} }}
> >
<Link to="/"> <Link to="/">
<Icon sx={{fontSize: "1.25rem!important"}}>{icon}</Icon> <Icon sx={{fontSize: "1.25rem!important", position: "relative", top: "0.25rem"}}>{icon}</Icon>
</Link> </Link>
{fullRoutes.map((fullRoute: string) => ( {fullRoutes.map((fullRoute: string) => (
<Link to={fullRoute} key={fullRoute}> <Link to={fullRoute} key={fullRoute}>