Skip to content

Commit

Permalink
ui: Modify breadcrumb style
Browse files Browse the repository at this point in the history
  • Loading branch information
clara-manes-domingo committed Jul 4, 2022
1 parent 8641176 commit 7322294
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/pages/Navbar/MainNavbarNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const createBreadcrumb = (
const displayedName = index ? formattedPathName : strings.navigation.main_site;
return (
<div key={index} style={styles.breadcrumb}>
<div>{index ? <ChevronRight color="primary" style={{ height: "16px" }} /> : null}</div>
<div>{index ? <ChevronRight color="primary" style={styles.breadcrumb} /> : null}</div>
<Button
disabled={isLastItem || pathName === ""}
data-test={`breadcrumb-${displayedName}`}
Expand All @@ -118,10 +118,9 @@ const MainNavbarNavigation = ({
storeSearchTerm,
storeSearchBarDisplayed
}) => {

return (
<div style={styles.container}>
<Typography variant="button" color={ "primary" }>
<Typography variant="button" color={"primary"}>
{strings.login.frontend_name}
</Typography>
<div style={styles.breadcrumbs}>
Expand Down

0 comments on commit 7322294

Please sign in to comment.