Skip to content

Commit

Permalink
EDIT feature/reportProblem add style to reportProblemPage
Browse files Browse the repository at this point in the history
  • Loading branch information
tinypt committed Jan 22, 2018
1 parent 7f45751 commit 3fa7a18
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/TopicInputComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TopicInput extends Component {
onChangeText={(text) => {
this.props.setTopic(text)
}}
style={[Styles.topic, Styles.border]}
style={[Styles.topicWhite, Styles.border]}
/>
</View>
)
Expand Down
4 changes: 3 additions & 1 deletion pages/ReportProblemPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ class ReportProblem extends Component {

render() {
return (
<View>
<View style={Styles.bg}>
<View style={Styles.topicGray} />
<TopicInput />
<Catagory />
<View style={Styles.topicGray} />
<Desciption />
</View>
)
Expand Down
12 changes: 10 additions & 2 deletions styles/reportProblemStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ const styles = StyleSheet.create({
borderWidth : 1,
borderColor : "#efefef"
},
topic: {
height : Dimensions.get('screen').height * 0.1
topicGray: {
height : Dimensions.get('screen').height * 0.05,
},
topicWhite: {
height : Dimensions.get('screen').height * 0.07,
justifyContent: 'center'
},
addButon: {
color: "#1b94f1",
marginRight: 10
},
bg: {
backgroundColor: '#ECEFF1',
flex:1
}
})

Expand Down

0 comments on commit 3fa7a18

Please sign in to comment.