File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -170,15 +170,15 @@ export default class RichTextEditor extends Component {
170
170
< Text style = { styles . inputTitle } > Title</ Text >
171
171
< View style = { styles . inputWrapper } >
172
172
< TextInput
173
- style = { { height : 20 } }
173
+ style = { styles . input }
174
174
onChangeText = { ( text ) => this . setState ( { linkTitle : text } ) }
175
175
value = { this . state . linkTitle }
176
176
/>
177
177
</ View >
178
178
< Text style = { [ styles . inputTitle , { marginTop : 10 } ] } > URL</ Text >
179
179
< View style = { styles . inputWrapper } >
180
180
< TextInput
181
- style = { { height : 20 } }
181
+ style = { styles . input }
182
182
onChangeText = { ( text ) => this . setState ( { linkUrl : text } ) }
183
183
value = { this . state . linkUrl }
184
184
keyboardType = "url"
@@ -563,6 +563,10 @@ const styles = StyleSheet.create({
563
563
inputTitle : {
564
564
color : '#4a4a4a'
565
565
} ,
566
+ input : {
567
+ height : PlatfomIOS ? 20 : 40 ,
568
+ paddingTop : 0
569
+ } ,
566
570
lineSeparator : {
567
571
height : 1 / PixelRatio . get ( ) ,
568
572
backgroundColor : '#d5d5d5' ,
You can’t perform that action at this time.
0 commit comments