File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class AvatarHeader extends React.Component {
133
133
{ opacity : authorOpacity }
134
134
] }
135
135
>
136
- < Text style = { styles . message } > { title } </ Text >
136
+ < Text numberOfLines = { 4 } style = { [ styles . message , styles . foregroundTitle ] } > { title } </ Text >
137
137
</ Animated . View >
138
138
< Animated . View style = { [ styles . infoContainer , { opacity : aboutOpacity } ] } >
139
139
< Text style = { styles . infoText } > { subtitle } </ Text >
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export default StyleSheet.create({
30
30
marginRight : 12
31
31
} ,
32
32
infoContainer : {
33
- flex : 1 ,
34
33
flexDirection : 'row' ,
35
34
marginBottom : 16
36
35
} ,
@@ -42,6 +41,7 @@ export default StyleSheet.create({
42
41
width : 56
43
42
} ,
44
43
infoText : {
44
+ flexGrow : 1 ,
45
45
color : colors . white ,
46
46
fontSize : constants . normalizedFontSize ( 16 ) ,
47
47
lineHeight : 24
@@ -63,7 +63,6 @@ export default StyleSheet.create({
63
63
} ,
64
64
userModalMessageContainer : {
65
65
marginTop : 12 ,
66
- flex : 5 ,
67
66
paddingBottom : 8
68
67
} ,
69
68
rightHeaderButton : {
@@ -72,5 +71,8 @@ export default StyleSheet.create({
72
71
} ,
73
72
leftHeaderButton : {
74
73
flex : 1 ,
74
+ } ,
75
+ foregroundTitle : {
76
+ flexGrow : 1 ,
75
77
}
76
- } )
78
+ } )
You can’t perform that action at this time.
0 commit comments