@@ -61,23 +61,25 @@ export default function PairInputModal({
6161 >
6262 < View style = { styles . container } >
6363 < Text style = { styles . title } > { title } </ Text >
64- < TextInput
65- style = { styles . input }
66- placeholder = { keyPlaceholder }
67- placeholderTextColor = "#9E9E9E"
68- value = { keyValue }
69- onChangeText = { setKeyValue }
70- autoFocus
71- testID = { keyTestID }
72- />
73- < TextInput
74- style = { styles . input }
75- placeholder = { valuePlaceholder }
76- placeholderTextColor = "#9E9E9E"
77- value = { val }
78- onChangeText = { setVal }
79- testID = { valueTestID }
80- />
64+ < View style = { styles . row } >
65+ < TextInput
66+ style = { [ styles . input , styles . halfInput ] }
67+ placeholder = { keyPlaceholder }
68+ placeholderTextColor = "#9E9E9E"
69+ value = { keyValue }
70+ onChangeText = { setKeyValue }
71+ autoFocus
72+ testID = { keyTestID }
73+ />
74+ < TextInput
75+ style = { [ styles . input , styles . halfInput ] }
76+ placeholder = { valuePlaceholder }
77+ placeholderTextColor = "#9E9E9E"
78+ value = { val }
79+ onChangeText = { setVal }
80+ testID = { valueTestID }
81+ />
82+ </ View >
8183 < View style = { styles . buttons } >
8284 < TouchableOpacity style = { styles . cancelBtn } onPress = { handleClose } >
8385 < Text style = { styles . cancelText } > CANCEL</ Text >
@@ -124,6 +126,13 @@ const styles = StyleSheet.create({
124126 color : '#212121' ,
125127 marginBottom : 12 ,
126128 } ,
129+ row : {
130+ flexDirection : 'row' ,
131+ gap : 8 ,
132+ } ,
133+ halfInput : {
134+ flex : 1 ,
135+ } ,
127136 buttons : {
128137 flexDirection : 'row' ,
129138 justifyContent : 'flex-end' ,
@@ -140,15 +149,13 @@ const styles = StyleSheet.create({
140149 color : Colors . textSecondary ,
141150 } ,
142151 confirmBtn : {
143- backgroundColor : Colors . oneSignalRed ,
144- borderRadius : 8 ,
145152 paddingVertical : 10 ,
146- paddingHorizontal : 20 ,
153+ paddingHorizontal : 16 ,
147154 } ,
148155 confirmText : {
149156 fontSize : 13 ,
150157 fontWeight : '600' ,
151- color : '#fff' ,
158+ color : Colors . oneSignalRed ,
152159 } ,
153160 disabled : {
154161 opacity : 0.5 ,
0 commit comments