[fix] initial 'display' value of 'Text'

Using `inline-block` breaks text overflow truncation in nested `Text`
components.

Fix gh-19
This commit is contained in:
Nicolas Gallagher
2015-10-18 18:08:39 -07:00
parent a26033be2d
commit 3fd29697c0

View File

@@ -9,7 +9,7 @@ const textStyleKeys = Object.keys(TextStylePropTypes)
const styles = StyleSheet.create({
initial: {
color: 'inherit',
display: 'inline-block',
display: 'inline',
font: 'inherit',
margin: 0,
padding: 0,