Browse Source

#WOA-2434|Resolved|Make input values in the link dialog visible

Yevhen Pavliuk 8 years ago
parent
commit
207867bf5a
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      src/RichTextEditor.js

+ 6
- 2
src/RichTextEditor.js View File

@@ -170,7 +170,7 @@ 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
                 />
@@ -178,7 +178,7 @@ export default class RichTextEditor extends Component {
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',