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 {
31
31
render ( ) {
32
32
const ListItem = ( props ) => {
33
33
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 } >
36
36
< SVGIcon name = { props . name } isMobile = { true } />
37
- </ NavLink >
38
- </ ListGroup . Item >
37
+ </ ListGroup . Item >
38
+ </ NavLink >
39
39
) : (
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 } / >
43
43
< b > { props . name } </ b >
44
- </ NavLink >
45
- </ ListGroup . Item >
44
+ </ ListGroup . Item >
45
+ </ NavLink >
46
46
) ;
47
47
48
48
return item ;
Original file line number Diff line number Diff line change 25
25
26
26
.main-navigation {
27
27
.list-group {
28
- .active {
28
+ .link {
29
29
background-color : rgba (26 , 115 , 232 , 0.1 );
30
- .link {
30
+ .active {
31
31
color : #1a73e8 ;
32
32
background-color : transparent ;
33
33
}
34
34
}
35
35
span {
36
- .active {
36
+ .link {
37
37
background-color : rgba (26 , 115 , 232 , 0.1 );
38
- .link {
38
+ .active {
39
39
color : #1a73e8 ;
40
40
background-color : transparent ;
41
41
}
46
46
47
47
.main-navigation {
48
48
.list-group {
49
- .inactive {
50
- .link {
49
+ .link {
50
+ .inactive {
51
51
color : rgba (0 , 0 , 0 , 0.5 );
52
52
}
53
53
}
54
54
span {
55
- .active {
56
- background-color : rgba ( 26 , 115 , 232 , 0.1 );
57
- .link {
55
+ .link {
56
+ .active {
57
+ background-color : rgba ( 26 , 115 , 232 , 0.1 );
58
58
color : #1a73e8 ;
59
59
background-color : transparent ;
60
60
}
You can’t perform that action at this time.
0 commit comments