diff options
Diffstat (limited to 'src/components/comments')
-rw-r--r-- | src/components/comments/CommentTextField.tsx | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/components/comments/CommentTextField.tsx b/src/components/comments/CommentTextField.tsx index 1b2142d4..f2e5251f 100644 --- a/src/components/comments/CommentTextField.tsx +++ b/src/components/comments/CommentTextField.tsx @@ -94,20 +94,17 @@ const CommentTextField: FC<CommentTextFieldProps> = ({ )} </Text> </TextInput> - <View style={styles.submitButton}> - <TouchableOpacity - style={ - comment === '' - ? [styles.submitButton, styles.greyButton] - : styles.submitButton - } - disabled={comment === ''} - onPress={addComment}> - <UpArrowIcon width={35} height={35} color={'white'} /> - </TouchableOpacity> - </View> + <TouchableOpacity + style={ + comment === '' + ? [styles.submitButton, styles.greyButton] + : styles.submitButton + } + disabled={comment === ''} + onPress={addComment}> + <UpArrowIcon width={35} height={35} color={'white'} /> + </TouchableOpacity> </View> - {validateInput(keyboardText) && ( partTypes.filter( @@ -147,7 +144,7 @@ const styles = StyleSheet.create({ borderRadius: 999, justifyContent: 'center', alignItems: 'center', - marginRight: '1%', + marginRight: '3%', marginVertical: '2%', alignSelf: 'flex-end', }, |