Skip to content

Commit

Permalink
chore: rename className
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Aug 7, 2020
1 parent 9e0147b commit c798f13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/NavigationItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const NavItem = ({ page, depthLevel, searchTerm, filteredPageNames }) => {

if (isPartiallyCurrent) {
return {
className: cx(styles.navLink, styles.isBreadCrumb),
className: cx(styles.navLink, styles.isPartiallyCurrent),
};
}

Expand Down Expand Up @@ -196,7 +196,7 @@ const NavItem = ({ page, depthLevel, searchTerm, filteredPageNames }) => {
<button
type="button"
className={cx(
{ [styles.isBreadCrumb]: isBreadCrumb },
{ [styles.isPartiallyCurrent]: isBreadCrumb },
styles.navLink
)}
onClick={() => setToggleIsExpanded(!toggleIsExpanded)}
Expand Down
4 changes: 2 additions & 2 deletions src/components/NavigationItems.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ button.navLink {
font-weight: bold;
}

.isBreadCrumb {
font-weight: bold !important;
.isPartiallyCurrent {
font-weight: bold;
}

.filterOn {
Expand Down

0 comments on commit c798f13

Please sign in to comment.