fixed search bar issues

This commit is contained in:
u-e 2019-01-03 17:57:34 +03:00
parent 27092771ab
commit f47fe169da
4 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,6 @@ export default EStyleSheet.create({
borderWidth: 1, borderWidth: 1,
borderTopWidth: 1, borderTopWidth: 1,
borderColor: '$primaryLightBackground', borderColor: '$primaryLightBackground',
borderRadius: 5,
marginRight: 0, marginRight: 0,
marginLeft: 0, marginLeft: 0,
marginTop: 10, marginTop: 10,

View File

@ -8,7 +8,6 @@ export default EStyleSheet.create({
borderWidth: 1, borderWidth: 1,
borderTopWidth: 1, borderTopWidth: 1,
borderColor: '$primaryLightBackground', borderColor: '$primaryLightBackground',
borderRadius: 5,
marginRight: 0, marginRight: 0,
marginLeft: 0, marginLeft: 0,
marginTop: 10, marginTop: 10,

View File

@ -29,6 +29,7 @@ export default EStyleSheet.create({
fontSize: 14, fontSize: 14,
flexGrow: 1, flexGrow: 1,
padding: 7, padding: 7,
maxWidth: '$deviceWidth - 100',
}, },
closeIconButton: { closeIconButton: {
width: 20, width: 20,

View File

@ -1,6 +1,6 @@
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import { import {
View, Text, TextInput, FlatList, TouchableHighlight, SafeAreaView, View, Text, FlatList, TouchableHighlight, SafeAreaView,
} from 'react-native'; } from 'react-native';
import FastImage from 'react-native-fast-image'; import FastImage from 'react-native-fast-image';
@ -10,7 +10,7 @@ import FastImage from 'react-native-fast-image';
import { Icon } from '../../icon'; import { Icon } from '../../icon';
import { IconButton } from '../../iconButton'; import { IconButton } from '../../iconButton';
import { Modal } from '../..'; import { Modal } from '../..';
import { TextInput } from '../../textInput';
// Styles // Styles
// eslint-disable-next-line // eslint-disable-next-line
import styles from './searchModalStyles'; import styles from './searchModalStyles';