From 5ad48ba28eb3d3ff6f911b1026e6cc97c799cbae Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 30 May 2015 01:38:48 +0000 Subject: [PATCH] update website --- docs/text.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/text.html b/docs/text.html index c93d3091b35..2e5d051ad8a 100644 --- a/docs/text.html +++ b/docs/text.html @@ -361,17 +361,17 @@ exports.examples : 'containerBackgroundColor attribute', render: function() { return ( - <View> - <View style={{flexDirection: 'row', height: 85}}> - <View style={{backgroundColor: '#ffaaaa', width: 150}} /> - <View style={{backgroundColor: '#aaaaff', width: 150}} /> + <View style={{backgroundColor: 'yellow'}}> + <View style={{flexDirection: 'row', position: 'absolute', height: 80}}> + <View style={{backgroundColor: '#ffaaaa', width: 140}} /> + <View style={{backgroundColor: '#aaaaff', width: 140}} /> </View> - <Text style={[styles.backgroundColorText, {top: -80}]}> + <Text style={styles.backgroundColorText}> Default containerBackgroundColor (inherited) + backgroundColor wash </Text> <Text style={[ styles.backgroundColorText, - {top: -70, containerBackgroundColor: 'transparent'}]}> + {marginBottom: 5, containerBackgroundColor: 'transparent'}]}> {"containerBackgroundColor: 'transparent' + backgroundColor wash"} </Text> </View> @@ -383,13 +383,13 @@ exports.examples return ( <View> <Text numberOfLines={1}> - Maximum of one line no matter now much I write here. If I keep writing it{"'"}ll just truncate after one line + Maximum of one line, no matter how much I write here. If I keep writing, it{"'"}ll just truncate after one line. </Text> <Text numberOfLines={2} style={{marginTop: 20}}> - Maximum of two lines no matter now much I write here. If I keep writing it{"'"}ll just truncate after two lines + Maximum of two lines, no matter how much I write here. If I keep writing, it{"'"}ll just truncate after two lines. </Text> <Text style={{marginTop: 20}}> - No maximum lines specified no matter now much I write here. If I keep writing it{"'"}ll just keep going and going + No maximum lines specified, no matter how much I write here. If I keep writing, it{"'"}ll just keep going and going. </Text> </View> ); @@ -398,7 +398,8 @@ exports.examples var styles = StyleSheet.create({ backgroundColorText: { - left: 5, + margin: 5, + marginBottom: 0, backgroundColor: 'rgba(100, 100, 100, 0.3)' }, entity: {