File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed
src/user/dashboard/navigation Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,18 @@ class Navigation extends Component {
3131 render ( ) {
3232 const ListItem = ( props ) => {
3333 const item = props . isMobile ? (
34- < ListGroup . Item className = { props . className } >
35- < NavLink to = { props . link } className = "link" >
34+ < NavLink to = { props . link } className = "link" >
35+ < ListGroup . Item className = { props . className } >
3636 < SVGIcon name = { props . name } isMobile = { true } />
37- </ NavLink >
38- </ ListGroup . Item >
37+ </ ListGroup . Item >
38+ </ NavLink >
3939 ) : (
40- < ListGroup . Item className = { props . className } >
41- < SVGIcon name = { props . name } / >
42- < NavLink to = { props . link } className = "link" >
40+ < NavLink to = { props . link } className = "link" >
41+ < ListGroup . Item className = { props . className } >
42+ < SVGIcon name = { props . name } / >
4343 < b > { props . name } </ b >
44- </ NavLink >
45- </ ListGroup . Item >
44+ </ ListGroup . Item >
45+ </ NavLink >
4646 ) ;
4747
4848 return item ;
Original file line number Diff line number Diff line change 2727
2828.main-navigation {
2929 .list-group {
30- .active {
30+ .link {
3131 background-color : rgba (26 , 115 , 232 , 0.1 );
32- .link {
32+ .active {
3333 color : #1a73e8 ;
3434 background-color : transparent ;
3535 }
3636 }
3737 span {
38- .active {
38+ .link {
3939 background-color : rgba (26 , 115 , 232 , 0.1 );
40- .link {
40+ .active {
4141 color : #1a73e8 ;
4242 background-color : transparent ;
4343 }
4848
4949.main-navigation {
5050 .list-group {
51- .inactive {
52- .link {
51+ .link {
52+ .inactive {
5353 color : rgba (0 , 0 , 0 , 0.5 );
5454 }
5555 }
5656 span {
57- .active {
58- background-color : rgba ( 26 , 115 , 232 , 0.1 );
59- .link {
57+ .link {
58+ .active {
59+ background-color : rgba ( 26 , 115 , 232 , 0.1 );
6060 color : #1a73e8 ;
6161 background-color : transparent ;
6262 }
You can’t perform that action at this time.
0 commit comments