Skip to content
Snippets Groups Projects
Commit 80c9ca0a authored by Santiago González's avatar Santiago González
Browse files

Active ClassItem style fix

parent 0cbe9fc7
No related branches found
No related tags found
No related merge requests found
...@@ -19,11 +19,18 @@ export class ClassItemWrapper extends ClassItemWrapperBase { ...@@ -19,11 +19,18 @@ export class ClassItemWrapper extends ClassItemWrapperBase {
protected InnerDiv = styled.div` protected InnerDiv = styled.div`
display: flex; display: flex;
color: #000;
${HSpacing(px(20))}; ${HSpacing(px(20))};
`;
&.active { protected Wrapper = styled(NavLink)`
${ListItem()};
text-decoration: none;
padding-right: 20px;
padding-left: 20px;
color: #000;
&.active,
&.active:hover {
color: white; color: white;
background-color: #236aa7; background-color: #236aa7;
...@@ -33,13 +40,6 @@ export class ClassItemWrapper extends ClassItemWrapperBase { ...@@ -33,13 +40,6 @@ export class ClassItemWrapper extends ClassItemWrapperBase {
} }
`; `;
protected Wrapper = styled(NavLink)`
${ListItem()};
text-decoration: none;
padding-right: 20px;
padding-left: 20px;
`;
public render() { public render() {
const { course, clazz } = this.props; const { course, clazz } = this.props;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment