Skip to content

Commit

Permalink
Fix for incorrect class for styling navtext
Browse files Browse the repository at this point in the history
  • Loading branch information
fgs-dbudwin committed Feb 26, 2020
1 parent 7495c5c commit 92cd3a4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/Styled/StyledSideNav.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import styled from 'styled-components';
import SideNav, {
Toggle,
Nav,
Expand All @@ -7,6 +6,8 @@ import SideNav, {
NavText
} from '../SideNav';

import styled from 'styled-components';

// SideNav
const StyledSideNav = styled(SideNav)`
background-color: #fff;
Expand Down Expand Up @@ -67,7 +68,7 @@ const StyledNav = styled(Nav)`
color: #666;
}
}
[class*="sidenav-nav-text--"] {
[class*="navtext--"] {
&, > * {
color: #222;
}
Expand All @@ -82,11 +83,9 @@ const StyledNav = styled(Nav)`
[class*="navtext--"] {
&, > * {
color: #db3d44;
font-weight: 700;
}
}
[class*="sidenav-nav-text--"] {
font-weight: 700;
}
}
}
`;
Expand Down

0 comments on commit 92cd3a4

Please sign in to comment.