From 181cfc1de4ee950f5a6b3443ee235daf9b2240ff Mon Sep 17 00:00:00 2001 From: Drew Budwin Date: Wed, 26 Feb 2020 11:18:00 -0500 Subject: [PATCH] Fix for incorrect class for styling navtext --- examples/Styled/StyledSideNav.jsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/Styled/StyledSideNav.jsx b/examples/Styled/StyledSideNav.jsx index 718d73c..65f800b 100644 --- a/examples/Styled/StyledSideNav.jsx +++ b/examples/Styled/StyledSideNav.jsx @@ -1,12 +1,13 @@ -import styled from 'styled-components'; import SideNav, { - Toggle, Nav, - NavItem, NavIcon, - NavText + NavItem, + NavText, + Toggle } from '../SideNav'; +import styled from 'styled-components'; + // SideNav const StyledSideNav = styled(SideNav)` background-color: #fff; @@ -67,7 +68,7 @@ const StyledNav = styled(Nav)` color: #666; } } - [class*="sidenav-nav-text--"] { + [class*="navtext--"] { &, > * { color: #222; } @@ -82,11 +83,9 @@ const StyledNav = styled(Nav)` [class*="navtext--"] { &, > * { color: #db3d44; + font-weight: 700; } } - [class*="sidenav-nav-text--"] { - font-weight: 700; - } } } `;