mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 11:34:30 +03:00
sticking text-justify to auto for android
This commit is contained in:
parent
d63e67da5e
commit
c48deced34
@ -1,4 +1,4 @@
|
|||||||
import { ImageStyle } from 'react-native';
|
import { ImageStyle, Platform } from 'react-native';
|
||||||
import { ViewStyle, TextStyle } from 'react-native';
|
import { ViewStyle, TextStyle } from 'react-native';
|
||||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ export default EStyleSheet.create({
|
|||||||
flexWrap:'wrap'
|
flexWrap:'wrap'
|
||||||
} as TextStyle,
|
} as TextStyle,
|
||||||
textJustify:{
|
textJustify:{
|
||||||
textAlign:'justify',
|
textAlign: Platform.select({ios:'justify', android:'auto'}), //justify with selectable on android causes ends of text getting clipped,
|
||||||
letterSpacing:0
|
letterSpacing:0
|
||||||
} as TextStyle,
|
} as TextStyle,
|
||||||
revealButton: {
|
revealButton: {
|
||||||
|
Loading…
Reference in New Issue
Block a user