This repository was archived by the owner on Jul 16, 2020. It is now read-only.
File tree 1 file changed +4
-3
lines changed
src/client/routes/catalog/components
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const SimpleName = styled(Text)`
13
13
/* margin-bottom: ${ styles . space ( - 1 ) } ; */
14
14
font-size: ${ styles . space ( 1 ) } ;
15
15
` ;
16
- const Container = styled ( View ) `
16
+ const Root = styled ( View ) `
17
17
cursor: pointer;
18
18
flex-direction: row;
19
19
padding: ${ styles . space ( 0 ) } ;
@@ -29,6 +29,7 @@ const Container = styled(View)`
29
29
&:hover ${ SimpleName } {
30
30
text-decoration: underline;
31
31
}
32
+ transition: all 200ms;
32
33
` ;
33
34
const Summary = styled ( View ) `
34
35
flex: 0 1 auto;
@@ -111,7 +112,7 @@ export class Course extends React.PureComponent<CourseProps, CourseState> {
111
112
render ( ) {
112
113
const { course } = this . props ;
113
114
return (
114
- < Container onClick = { this . handleClick } >
115
+ < Root onClick = { this . handleClick } >
115
116
< Summary >
116
117
< SimpleName > { Model . Course . getSimpleName ( course ) } </ SimpleName >
117
118
< FullName > { course . name } </ FullName >
@@ -133,7 +134,7 @@ export class Course extends React.PureComponent<CourseProps, CourseState> {
133
134
< ArrowContainer >
134
135
< Fa icon = "chevronRight" />
135
136
</ ArrowContainer >
136
- </ Container >
137
+ </ Root >
137
138
) ;
138
139
}
139
140
}
You can’t perform that action at this time.
0 commit comments