Skip to content

Commit

Permalink
Styled active class
Browse files Browse the repository at this point in the history
  • Loading branch information
GGalina committed Apr 17, 2023
1 parent eebce55 commit 718dc0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AuthNav/AuthNav.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Link = styled(NavLink)`
outline: none;
cursor: pointer;
:hover,
:focus {
&.active {
background-color: #ff6600;
color: #000000;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/Navigation.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Link = styled(NavLink)`
outline: none;
cursor: pointer;
:hover,
:focus {
&.active {
background-color: #ff6600;
color: #000000;
}
Expand Down

0 comments on commit 718dc0a

Please sign in to comment.