Skip to content

Commit

Permalink
Merge pull request #457 from newrelic/liz/nav-bolding
Browse files Browse the repository at this point in the history
Persist bold style in Link nav items
  • Loading branch information
LizBaker authored Jul 17, 2020
2 parents 2461d8f + 4bc7883 commit 5b89d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/NavigationItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ const NavItem = ({ page, depthLevel, searchTerm, filteredPageNames }) => {
>
{page.url ? (
<Link
activeStyle={{ fontWeight: 'bold' }}
partiallyActive
onClick={
isToggleable && (() => setToggleIsExpanded(!toggleIsExpanded))
}
Expand Down
1 change: 0 additions & 1 deletion src/components/NavigationItems.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ button.navLink {
}
}

.isCurrentPage,
.isBreadCrumb {
font-weight: bold !important;
}
Expand Down

0 comments on commit 5b89d7f

Please sign in to comment.