Skip to content

Commit

Permalink
sidebar: do not highlight links on hover
Browse files Browse the repository at this point in the history
Fixes #618
  • Loading branch information
fabiosantoscode committed Jan 24, 2020
1 parent fb92676 commit 6aa7ad2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Documentation/SidebarMenu/SidebarMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,13 @@ const SectionLinks = styled.div`
}
`

const sectionLinkColor = '#b0b8c5'
const SectionLink = styled.a`
display: block;
position: relative;
font-size: 18px;
font-weight: 500;
color: #b0b8c5;
color: ${sectionLinkColor};
text-decoration: none;
font-weight: 400;
line-height: 26px;
Expand All @@ -206,6 +207,9 @@ const SectionLink = styled.a`
&:hover {
color: #3c3937;
${media.phablet`
color: ${sectionLinkColor};
`}
}
&::before {
Expand Down

0 comments on commit 6aa7ad2

Please sign in to comment.