Skip to content

routerLinkActive applied to wrong element#6

Open
cokert wants to merge 1 commit intomosh-hamedani:masterfrom
cokert:patch-1
Open

routerLinkActive applied to wrong element#6
cokert wants to merge 1 commit intomosh-hamedani:masterfrom
cokert:patch-1

Conversation

@cokert
Copy link

@cokert cokert commented Dec 21, 2016

When applied to the anchor tag, the active class only gets applied to the anchor tag, which results in only the text of the link being styled. When applied to the list item tag, the li's background color is changed as shown in the video for the course.

When applied to the anchor tag, the active class only gets applied to the anchor tag, which results in only the text of the link being styled.  When applied to the list item tag, the li's background color is changed as shown in the video for the course.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant