changed style for andorid tags

This commit is contained in:
u-e 2019-05-15 23:43:55 +03:00
parent 3bd23bb1fa
commit d9a0649dd6

View File

@ -1,4 +1,5 @@
import EStyleSheet from 'react-native-extended-stylesheet'; import EStyleSheet from 'react-native-extended-stylesheet';
import { Platform } from 'react-native';
export default EStyleSheet.create({ export default EStyleSheet.create({
text: { text: {
@ -13,7 +14,7 @@ export default EStyleSheet.create({
backgroundColor: '$tagColor', backgroundColor: '$tagColor',
}, },
textWrapper: { textWrapper: {
paddingHorizontal: 10, paddingHorizontal: Platform.OS === 'android' ? 20 : 10,
justifyContent: 'center', justifyContent: 'center',
marginRight: 8, marginRight: 8,
height: 22, height: 22,