Skip to content
Snippets Groups Projects
Commit be6545ec authored by Julia Friesel's avatar Julia Friesel
Browse files

Style fixes

parent a2113a5e
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ import { AppText } from '../app-text'
export default class SelectBoxGroup extends Component {
render() {
return (
<View flexDirection='row' flexWrap='wrap'>
<View style={styles.selectBoxSection}>
{this.props.data.map(({ label, stateKey }) => {
const style = [styles.selectBox]
const textStyle = []
......
......@@ -9,6 +9,7 @@ import { pain as labels } from '../labels/labels'
import ActionButtonFooter from './action-button-footer'
import SelectBoxGroup from '../select-box-group'
import SymptomSection from './symptom-section'
import styles from '../../../styles'
const categories = labels.categories
const boxes = [{
......@@ -61,7 +62,7 @@ export default class Pain extends Component {
render() {
return (
<View style={{ flex: 1 }}>
<ScrollView>
<ScrollView style={styles.page}>
<SymptomSection
explainer={labels.explainer}
>
......
......@@ -182,7 +182,8 @@ export default StyleSheet.create({
},
selectBox: {
backgroundColor: 'lightgrey',
margin: 7,
marginRight: 7,
marginVertical: 5,
paddingHorizontal: 15,
paddingVertical: 10,
borderRadius: 10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment