From 3fd29697c0ab8745885e43d50707d6fb4fa4145d Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 18 Oct 2015 18:08:39 -0700 Subject: [PATCH] [fix] initial 'display' value of 'Text' Using `inline-block` breaks text overflow truncation in nested `Text` components. Fix gh-19 --- src/components/Text/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Text/index.js b/src/components/Text/index.js index d148ba12..3416aab9 100644 --- a/src/components/Text/index.js +++ b/src/components/Text/index.js @@ -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,