File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class Chat extends React.Component {
97
97
< View style = { [ styles . item , itemStyle ] } >
98
98
{ ! inMessage && renderDate ( info . item . time ) }
99
99
< View style = { [ styles . balloon , { backgroundColor} ] } >
100
- < RkText rkType = 'primary2 mediumLine chat' > { info . item . text } </ RkText >
100
+ < RkText rkType = 'primary2 mediumLine chat' style = { { paddingTop : 5 } } > { info . item . text } </ RkText >
101
101
</ View >
102
102
{ inMessage && renderDate ( info . item . time ) }
103
103
</ View >
@@ -186,7 +186,9 @@ let styles = RkStyleSheet.create(theme => ({
186
186
} ,
187
187
balloon : {
188
188
maxWidth : scale ( 250 ) ,
189
- padding : 15 ,
189
+ paddingHorizontal : 15 ,
190
+ paddingTop : 10 ,
191
+ paddingBottom : 15 ,
190
192
borderRadius : 20 ,
191
193
} ,
192
194
time : {
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class ChatList extends React.Component {
86
86
{ moment ( ) . add ( last . time , 'seconds' ) . format ( 'LT' ) }
87
87
</ RkText >
88
88
</ View >
89
- < RkText numberOfLines = { 2 } rkType = 'primary3 mediumLine' > { last . text } </ RkText >
89
+ < RkText numberOfLines = { 2 } rkType = 'primary3 mediumLine' style = { { paddingTop : 5 } } > { last . text } </ RkText >
90
90
</ View >
91
91
</ View >
92
92
</ TouchableOpacity >
@@ -121,7 +121,8 @@ let styles = RkStyleSheet.create(theme => ({
121
121
container : {
122
122
paddingLeft : 19 ,
123
123
paddingRight : 16 ,
124
- paddingVertical : 12 ,
124
+ paddingBottom : 12 ,
125
+ paddingTop : 7 ,
125
126
flexDirection : 'row'
126
127
} ,
127
128
content : {
You can’t perform that action at this time.
0 commit comments