Commit 6817782e authored by Trisno's avatar Trisno

update reward detail

parent abb8f15b
...@@ -93,7 +93,7 @@ class RewardDetail extends React.Component { ...@@ -93,7 +93,7 @@ class RewardDetail extends React.Component {
render() { render() {
// console.log(this.state.content) console.log(this.state.content)
return ( return (
<View style={styles.container}> <View style={styles.container}>
<ScrollView> <ScrollView>
...@@ -108,7 +108,7 @@ class RewardDetail extends React.Component { ...@@ -108,7 +108,7 @@ class RewardDetail extends React.Component {
<Text style={styles.text_expire}>EXPIRE DATE</Text> <Text style={styles.text_expire}>EXPIRE DATE</Text>
</View> </View>
<View style={{flex:0.5}}> <View style={{flex:0.5}}>
<Text style={{ fontFamily: 'Gotham-Light', color: 'white', fontSize: 14, textAlign: 'center', marginBottom: 5, top: 5, paddingLeft:55 }}>{this.state.expire}</Text> <Text style={{ fontFamily: 'Gotham-Light', color: 'white', fontSize: 14, textAlign: 'right', marginBottom: 5, top: 5, paddingRight:12}}>{this.state.expire}</Text>
</View> </View>
</View> </View>
...@@ -121,7 +121,7 @@ class RewardDetail extends React.Component { ...@@ -121,7 +121,7 @@ class RewardDetail extends React.Component {
<View <View
style={{ marginHorizontal: 20 }} style={{ marginHorizontal: 20 }}
> >
<HTML html={this.state.content} tagsStyles={{ p: { fontSize:12, color:'#838383', fontFamily: 'Gotham-Light'}, blockquote: { backgroundColor: "#f1f1f1", padding: 12, paddingBottom: 0, marginTop: 6 } }} /> <HTML html={this.state.content} tagsStyles={{ p: { fontSize:12, color:'#838383', fontFamily: 'Gotham-Light'}, li: { fontSize:12, color:'#838383', fontFamily: 'Gotham-Light' }, ul: { fontSize:12, color:'#838383', fontFamily: 'Gotham-Light', marginTop:10 }, blockquote: { backgroundColor: "#f1f1f1", padding: 12, paddingBottom: 0, marginTop: 6 } }} />
</View> </View>
</View> </View>
<View style={styles.content}> <View style={styles.content}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment