From 92cd3a49fa9ae7a199127319cd76559f8ae6e53c 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 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/Styled/StyledSideNav.jsx b/examples/Styled/StyledSideNav.jsx index 718d73c..333fdd9 100644 --- a/examples/Styled/StyledSideNav.jsx +++ b/examples/Styled/StyledSideNav.jsx @@ -1,4 +1,3 @@ -import styled from 'styled-components'; import SideNav, { Toggle, Nav, @@ -7,6 +6,8 @@ import SideNav, { NavText } 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; - } } } `;